Skip to content

dbca-wa/authorisations

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

300 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DBCA Authorisations

Animal Ethics & Section 40/45 approval process

Testing

Backend tests now run on pytest with categories for unit, api, security, integration, slow, and smoke. Pytest uses backend/config/test_settings.py so local and CI runs do not depend on PostgreSQL database-creation privileges.

Run the fast backend suite:

cd backend
poetry run pytest

Run backend tests in parallel with coverage:

cd backend
poetry run pytest -n auto --cov --cov-report=term-missing --cov-report=html --cov-report=xml

Run the frontend suite with Vitest:

cd frontend
bun run test

Run frontend coverage:

cd frontend
bun run test:coverage

Azure Pipelines now runs backend and frontend tests before the Docker build, and publishes coverage for both stacks.

About

Authorisation process management system

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors