feat: build headless theatre laboratory website

This commit is contained in:
bisco
2026-06-22 19:42:43 +02:00
parent cae9180bc6
commit cff9a17c3c
65 changed files with 8994 additions and 128 deletions
+16 -11
View File
@@ -1,23 +1,28 @@
# Testing
Describe how tests are executed.
All tests should run inside Docker containers.
## Canonical test command
```bash
CHANGE_ME
docker compose run --rm backend python manage.py test
docker compose run --rm frontend npm run check
docker compose run --rm frontend npm run build
docker compose config --quiet
```
## Test categories
Describe applicable categories:
The test suite covers:
- unit tests;
- integration tests;
- linting;
- formatting checks;
- Ansible syntax checks;
- Docker/Compose validation;
- smoke tests.
- Django model and API integration tests;
- Astro static type and template validation;
- production frontend build;
- Docker Compose configuration validation.
All commands run in containers. The backend test container starts PostgreSQL through
Compose; the frontend checks use the checked-in lockfile for reproducible installs.
After seeding, smoke-test `/health/`, `/api/site/home/`, and the public page. Basic
keyboard navigation, responsive layout, and accessible names require a manual browser
pass until browser automation is added.