forked from mtusi2026/mtusi2026lab3
11 lines
686 B
Plaintext
11 lines
686 B
Plaintext
python3 student-tests/test_api.py --base-url "http://localhost:8080"
|
|
PASS: malformed JSON/media type, duplicate username, blank message, outsider access, pagination
|
|
PASS: 10 clients created exactly 100 unique messages
|
|
python3 student-tests/checks.py --base-url "http://localhost:8080"
|
|
PASS: registration race, invalid input, cursor scope, read-after-write, logout
|
|
python3 student-tests/idempotency.py --base-url "http://localhost:8080"
|
|
PASS: shared idempotency, scope, conflict and auth on replay
|
|
docker compose exec -T --index 1 api python student-tests/database.py
|
|
PASS: rollback of chat + members; migration reapplied twice
|
|
PASS: persisted key expiry, atomic message/result rollback
|