generated from bisco/codex-bootstrap
feat: bootstrap HoopScout scouting app
This commit is contained in:
+12
-12
@@ -1,23 +1,23 @@
|
||||
# Testing
|
||||
|
||||
Describe how tests are executed.
|
||||
All tests must run inside Docker containers.
|
||||
|
||||
All tests should run inside Docker containers.
|
||||
## Canonical Test Command
|
||||
|
||||
## Canonical test command
|
||||
Run these commands from the repository root:
|
||||
|
||||
```bash
|
||||
CHANGE_ME
|
||||
docker compose run --rm backend ruff check .
|
||||
docker compose run --rm backend pytest
|
||||
docker compose run --rm frontend npm test
|
||||
docker compose config
|
||||
```
|
||||
|
||||
## Test categories
|
||||
|
||||
Describe applicable categories:
|
||||
- Backend API tests use `pytest` and `pytest-django`.
|
||||
- Backend linting uses `ruff`.
|
||||
- Frontend unit tests use `vitest`.
|
||||
- Docker Compose validation uses `docker compose config`.
|
||||
|
||||
- unit tests;
|
||||
- integration tests;
|
||||
- linting;
|
||||
- formatting checks;
|
||||
- Ansible syntax checks;
|
||||
- Docker/Compose validation;
|
||||
- smoke tests.
|
||||
The initial TDD coverage verifies authentication requirements, player filtering, default ranking, profile performance summaries, user roles, and frontend filter serialization.
|
||||
|
||||
Reference in New Issue
Block a user