-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
33 lines (29 loc) · 1.13 KB
/
Copy pathMakefile
File metadata and controls
33 lines (29 loc) · 1.13 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# AutoDev developer Makefile.
#
# Two main entry points:
#
# make test — full pytest suite.
# make test-stability — fast suite over the v0.27-touched modules
# (parser, ledger, plan_phase). Target <10s.
# make mutate-parser — manual mutmut gate on plan_parser +
# path_validator. Not in CI.
.PHONY: test test-stability mutate-parser
test:
uv run --all-extras pytest tests/ -v
test-stability:
uv run pytest -q \
tests/test_orchestrator_plan_parser.py \
tests/test_orchestrator_plan_parser_hedge_text.py \
tests/test_state_ledger_exhaustive_apply_op.py \
tests/test_orchestrator_plan_phase_drop.py \
tests/test_orchestrator_plan_phase_hedge_repro.py
mutate-parser:
@command -v mutmut >/dev/null 2>&1 || { \
echo "mutmut not installed: run 'uv pip install mutmut' first"; \
exit 1; \
}
mutmut run \
--paths-to-mutate=src/orchestrator/plan_parser.py,src/orchestrator/path_validator.py \
--tests-dir=tests \
--runner='uv run pytest -x -q tests/test_orchestrator_plan_parser.py tests/test_orchestrator_plan_parser_hedge_text.py'
mutmut results