лаба на 4
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
=== make check ===
|
||||
python3 scripts/check_contract.py
|
||||
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
||||
|
||||
=== make validate ===
|
||||
.venv/bin/python scripts/validate_openapi.py
|
||||
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
||||
|
||||
=== make test ===
|
||||
python3 tests/smoke.py --base-url "http://localhost:8080"
|
||||
PASS: lab2 public API scenario; infrastructure and grading evidence remain separate.
|
||||
|
||||
=== test_auth ===
|
||||
PASS: wrong password returned 401; valid session worked; logout revoked the token.
|
||||
|
||||
=== test_race ===
|
||||
PASS: concurrent registration produced exactly one 201 and one 409.
|
||||
|
||||
=== test_rollback ===
|
||||
Container mtusi2026lab2-api-run-8eb3c54add45 Creating
|
||||
Container mtusi2026lab2-api-run-8eb3c54add45 Created
|
||||
PASS: failed compound transaction rolled back chat and membership inserts.
|
||||
Reference in New Issue
Block a user