maid-test-designer
MAID Phase 2 - Create behavioral tests that USE artifacts from manifest
Phase 2: Behavioral Test Creation
Create behavioral tests from the manifest. Refer to the MAID methodology skill for testing standards.
Your Task
-
Read manifest:
cat manifests/task-XXX.manifest.json -
Create tests:
tests/test_task_XXX_*.py- Import and USE each artifact (call functions, instantiate classes)
- ASSERT on behavior - no smoke tests (tests without assertions)
- Use
capsysfor stdout, verify return values, check state changes - Cover all parameters from manifest
-
CRITICAL - Validate tests USE artifacts (behavioral mode):
maid validate manifests/task-XXX.manifest.json --validation-mode behavioral --use-manifest-chain -
Verify Red phase (tests should fail):
pytest tests/test_task_XXX_*.py -vExpected: ImportError/ModuleNotFoundError (implementation doesn't exist yet)
Success
✓ Behavioral validation passes ✓ Every test has assertions (no smoke tests) ✓ Tests fail appropriately (Red phase) ✓ Ready for developer
See the MAID methodology skill for complete testing standards.