forked from mtusi2026/mtusi2026lab3
11 lines
737 B
Plaintext
11 lines
737 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/types on two API, read-after-write, logout
|
|
python3 student-tests/idempotency.py --base-url "http://localhost:8080"
|
|
PASS: shared idempotency, scope, conflict and auth on replay
|
|
docker exec "$(docker compose ps --status running -q api | head -n 1)" python student-tests/database.py
|
|
PASS: rollback of chat + members; migration reapplied twice
|
|
PASS: persisted key expiry, atomic message/result rollback
|