Reframe sweep M7-27 + capstone (AI drives git, lesson=theory, de-slop) (#93)
Sync course wiki / sync-wiki (push) Successful in 11s
Sync course wiki / sync-wiki (push) Successful in 11s
Co-authored-by: claude <claude@jpaul.io> Co-committed-by: claude <claude@jpaul.io>
This commit was merged in pull request #93.
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
"""Reference test suite for the Module 13 lab. Peek only after you've tried it yourself.
|
||||
|
||||
Named `reference_test_tasks.py` (not `test_*.py`) on purpose, so `python -m unittest discover`
|
||||
does NOT pick it up automatically. To run it directly from the tasks-app folder:
|
||||
does NOT pick it up automatically. To run it, copy it next to your working `tasks.py` (e.g.
|
||||
`~/ai-workflow-course/work/tasks-app/`) and run, from that directory:
|
||||
|
||||
python -m unittest path/to/reference_test_tasks.py
|
||||
python -m unittest reference_test_tasks
|
||||
|
||||
It assumes `tasks.py` is importable (run it from the tasks-app directory, or copy it there).
|
||||
It assumes `tasks.py` is importable, which is why you run it from the tasks-app directory.
|
||||
|
||||
The point of this file is to show the difference between a test that asserts CURRENT BEHAVIOR
|
||||
(a tautology that passes against the bug) and a test that encodes INTENT (and fails until the
|
||||
|
||||
Reference in New Issue
Block a user