Runs tests in a disposable service container.
Section: Developer Workflows
Run test suite in service
bash
bash
docker compose run --rm app pytest -qExplanation
Great for reproducible local and CI test runs.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Developer Workflows
Watch files and sync/rebuild
Watches project files and applies sync or rebuild actions when configured.
Install dependencies in app service
Executes dependency installation in the service environment.
Run database migration
Runs a migration task in an ephemeral application container.
Run integration stack and exit with service code
Runs an integration stack and returns the test container exit code.
Validate effective config
Checks whether the Compose config is valid without printing it.