forked from mtusi2026/mtusi2026lab3
22 lines
1.1 KiB
Plaintext
22 lines
1.1 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:28083"
|
|
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
|
uv run --locked pytest
|
|
============================= 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 48 items
|
|
|
|
student-tests/test_api.py .................................... [ 75%]
|
|
student-tests/test_cluster.py ............ [100%]
|
|
|
|
======================== 48 passed, 1 warning in 9.58s =========================
|
|
python3 tests/resilience.py --mode persistence --action-script "scripts/restart.sh" --base-url "http://127.0.0.1:28083"
|
|
Executing explicit persistence hook; hook output suppressed to avoid leaking secrets.
|
|
PASS: persistence preserved confirmed data and existing session. Hook scope needs operator evidence.
|