test(integration): add integration test on subject group

This commit is contained in:
Edouard Vanbelle
2026-05-31 22:45:03 +02:00
parent 03ee05a74a
commit e169f53218
7 changed files with 560 additions and 3 deletions
+7
View File
@@ -23,6 +23,13 @@ test:
test-mocks:
cargo test --features test_utils
# DB-dependent integration tests gated on `--cfg integration_tests`.
# Spins up the test postgres on port 5433 first. Requires one row in
# auth.users (start the server against the test DB once to seed).
test-integration:
bash tests/common/spawn-db.sh
RUSTFLAGS='--cfg integration_tests' cargo test --workspace --tests
test-one name:
cargo test {{name}}