forked from mtusi2026/mtusi2026lab4
23 lines
1.2 KiB
Plaintext
23 lines
1.2 KiB
Plaintext
python3 scripts/check_contract.py
|
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
|
PASS: full OpenAPI 3.1 and JSON Schema validation; application NOT tested.
|
|
python3 tests/smoke.py --base-url "http://127.0.0.1:28084"
|
|
PASS: lab4 public API scenario; infrastructure and grading evidence remain separate.
|
|
uv run --locked pytest --disable-warnings
|
|
============================= test session starts ==============================
|
|
platform darwin -- Python 3.14.7, pytest-9.1.1, pluggy-1.7.0
|
|
rootdir: <repository>
|
|
configfile: pyproject.toml
|
|
testpaths: student-tests
|
|
plugins: anyio-4.15.1
|
|
collected 65 items
|
|
|
|
student-tests/test_api.py .................................... [ 55%]
|
|
student-tests/test_attachments.py ................. [ 81%]
|
|
student-tests/test_cluster.py ............ [100%]
|
|
|
|
======================= 65 passed, 2 warnings in 21.77s ========================
|
|
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://127.0.0.1:28084"
|
|
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|