forked from mtusi2026/mtusi2026lab3
52 lines
3.2 KiB
Plaintext
52 lines
3.2 KiB
Plaintext
date: 2026-11-05T21:42:21.356804+00:00 commit: 57744c532c58d3e2bd248b4368ecba0a42402ed8 + pending runner fix and regression test
|
|
$ make check lint student-test
|
|
python3 scripts/check_contract.py
|
|
PASS: offline skeleton structure, local refs and Python syntax; application NOT tested.
|
|
.venv/bin/ruff check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
|
|
All checks passed!
|
|
.venv/bin/ruff format --check src student-tests alembic scripts/probe.py scripts/limits.py scripts/scaling.py tools
|
|
109 files already formatted
|
|
.venv/bin/ty check src student-tests alembic
|
|
All checks passed!
|
|
.venv/bin/pytest
|
|
============================= test session starts ==============================
|
|
platform darwin -- Python 3.14.5, pytest-9.1.1, pluggy-1.6.0
|
|
rootdir: <repo>
|
|
configfile: pyproject.toml
|
|
testpaths: student-tests
|
|
plugins: asyncio-1.4.0, anyio-4.15.1
|
|
asyncio: mode=Mode.AUTO, debug=False, asyncio_default_fixture_loop_scope=function, asyncio_default_test_loop_scope=function
|
|
collected 302 items / 12 deselected / 290 selected
|
|
|
|
student-tests/api/test_access.py ......... [ 3%]
|
|
student-tests/api/test_bounded_contexts.py .................. [ 9%]
|
|
student-tests/api/test_cache.py ...... [ 11%]
|
|
student-tests/api/test_concurrency.py .... [ 12%]
|
|
student-tests/api/test_consistency.py ........ [ 15%]
|
|
student-tests/api/test_drain.py .. [ 16%]
|
|
student-tests/api/test_events.py ...... [ 18%]
|
|
student-tests/api/test_idempotency.py ............... [ 23%]
|
|
student-tests/api/test_instance.py .... [ 24%]
|
|
student-tests/api/test_migrations.py ...................... [ 32%]
|
|
student-tests/api/test_negative.py ..................................... [ 45%]
|
|
[ 45%]
|
|
student-tests/api/test_operability.py .............. [ 50%]
|
|
student-tests/api/test_pagination.py .................. [ 56%]
|
|
student-tests/api/test_pool.py ............ [ 60%]
|
|
student-tests/api/test_sessions.py .................. [ 66%]
|
|
student-tests/api/test_timeout.py ...... [ 68%]
|
|
student-tests/api/test_wire_format.py .. [ 69%]
|
|
student-tests/unit/test_authentication.py ..................... [ 76%]
|
|
student-tests/unit/test_cursor.py ........... [ 80%]
|
|
student-tests/unit/test_domain.py ..................................... [ 93%]
|
|
student-tests/unit/test_probe.py .............. [ 97%]
|
|
student-tests/unit/test_scaling.py ..... [ 99%]
|
|
student-tests/unit/test_timeouts.py . [100%]
|
|
|
|
===================== 290 passed, 12 deselected in 30.74s ======================
|
|
exit: 0
|
|
$ make test
|
|
python3 tests/smoke.py --base-url "http://127.0.0.1:18083"
|
|
PASS: lab3 public API scenario; infrastructure and grading evidence remain separate.
|
|
exit: 0
|