This commit is contained in:
2026-10-23 14:47:53 +03:00
parent 65003b6119
commit 84fc48d315
29 changed files with 1940 additions and 24 deletions
+14 -1
View File
@@ -4,7 +4,20 @@ CA_FILE ?=
ACTION_SCRIPT ?=
TLS_ARGS = $(if $(CA_FILE),--ca-file "$(CA_FILE)",)
.PHONY: help check validate test load test-persistence
.PHONY: help check validate test load test-persistence student-test test-grade4-infra test-grade4-expiry track2
track2:
$(PYTHON) scripts/track2_run.py
student-test:
$(PYTHON) -m unittest discover -s student-tests -p 'test_*.py'
test-grade4-infra:
RUN_INFRA_TEST=1 $(PYTHON) -m unittest discover -s student-tests -p 'test_dependencies.py'
test-grade4-expiry:
@echo "Start stack with: docker compose -f compose.yaml -f compose.ttl.yaml up -d --build"
@echo "Then: RUN_EXPIRY_TEST=1 $(PYTHON) -m unittest student-tests.test_lab2.Lab2Grade4Tests.test_session_expiry"
help:
@echo "check: offline structure; validate: full OpenAPI (requirements-dev.txt); test: running API; load: synthetic writes"