forked from mtusi2026/mtusi2026lab2
lab2
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user