diff --git a/src/bmm/workflows/4-implementation/dev-story/workflow.md b/src/bmm/workflows/4-implementation/dev-story/workflow.md index c2200d398..29fc1aaec 100644 --- a/src/bmm/workflows/4-implementation/dev-story/workflow.md +++ b/src/bmm/workflows/4-implementation/dev-story/workflow.md @@ -273,9 +273,17 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve: Review the current task/subtask from the story file - this is your authoritative implementation guide Plan implementation following red-green-refactor cycle - - Write FAILING tests first for the task/subtask functionality - Confirm tests fail before implementation - this validates test correctness + + + Identify test files containing test.fixme() or test.skip() that map to the current task/subtask + Convert matching test.fixme()/test.skip() calls to regular test() calls to activate them + Run activated tests to confirm they FAIL due to missing implementation (RED phase verified) + If a test passes unexpectedly before implementation, investigate — it may not be validating real behavior + + + Write FAILING tests first for the task/subtask functionality + Confirm tests fail before implementation - this validates test correctness + Implement MINIMAL code to make tests pass @@ -386,6 +394,7 @@ Load config from `{project-root}/_bmad/bmm/config.yaml` and resolve: - Dev Agent Record contains implementation notes - Change Log includes summary of changes - Only permitted story sections were modified + - No test.fixme() or test.skip() calls remain for completed tasks (all ATDD tests activated and passing)