Skip to content

Commit e460738

Browse files
committed
chore(copilot): refine instructions for writing new tests
1 parent 1d7b292 commit e460738

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/copilot-instructions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@ npm test
3030
Follow this exact sequence for ALL code changes. Work in small increments — make one change at a time and validate before proceeding.
3131

3232
1. **Research**: Search codebase for existing patterns, commands, utilities. Understand how similar functionality is implemented.
33-
2. **Write failing integration test**: Create test describing desired behavior (use Cucumber for integration tests)
33+
2. **Write failing integration test**: Create test (or modify existing test) describing desired behavior (use Cucumber for integration tests)
3434
3. **Verify failure**: Run `npm run test:integration` — confirm clear failure message
35-
4. **Write failing unit test**: Create test describing desired behavior
35+
4. **Write failing unit test**: Create test (or modify existing test) describing desired behavior
3636
5. **Verify failure**: Run `npm run test:unit:base` — confirm clear failure message
3737
6. **Implement minimal code**: Write just enough to pass
3838
7. **Verify pass**: Run `npm run test:unit:base` — confirm pass

0 commit comments

Comments
 (0)