2026-08-29 12:53:16 +02:00
|
|
|
.PHONY: test test-unit test-scenarios test-integration test-conformance check-layer
|
2026-05-22 20:55:27 +02:00
|
|
|
|
|
|
|
|
PYTHON ?= python3
|
|
|
|
|
|
2026-08-29 12:53:16 +02:00
|
|
|
test: test-unit check-layer
|
2026-05-22 21:39:10 +02:00
|
|
|
|
|
|
|
|
test-unit:
|
2026-05-22 20:55:27 +02:00
|
|
|
PYTHONPATH=src $(PYTHON) -m unittest discover -s tests -p 'test_*.py'
|
2026-05-22 21:39:10 +02:00
|
|
|
|
|
|
|
|
test-scenarios: test-unit
|
|
|
|
|
|
|
|
|
|
test-integration: test-unit
|
|
|
|
|
|
2026-08-29 12:53:16 +02:00
|
|
|
test-conformance: test-unit check-layer
|
|
|
|
|
|
|
|
|
|
check-layer:
|
|
|
|
|
PYTHONPATH=src $(PYTHON) scripts/check_layer_conformance.py --report
|
2026-09-13 12:20:02 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: test-journeys
|
|
|
|
|
# Optional JOURNEY_ARGS supports --role, --report and --require-complete.
|
|
|
|
|
test-journeys:
|
|
|
|
|
PYTHONPATH=src:tests $(PYTHON) scripts/run_journey_suites.py $(JOURNEY_ARGS)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.PHONY: test-browser-journeys
|
|
|
|
|
test-browser-journeys:
|
|
|
|
|
PYTHONDONTWRITEBYTECODE=1 $(PYTHON) scripts/browser_journeys.py
|