Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,10 +106,9 @@ Commit: `feat(criteria): write acceptance criteria for <name>`
### Bug Handling

When a defect is reported:
1. **PO** adds `@bug @id:<hex>` Example to the relevant `Rule:` in the `.feature` file
2. **SE** implements the specific test in `tests/features/<feature-name>/`
3. **SE** also writes a `@given` Hypothesis property test in `tests/unit/` for the whole class of inputs
4. Both tests are required. SE follows the normal TDD loop (Step 3).
1. **PO** adds a `@bug @id:<hex>` Example to the relevant `Rule:` in the `.feature` file and moves (or keeps) the feature in `backlog/` for normal scheduling.
2. **SE** handles the bug when the feature is selected for development (standard Step 2–3 flow): implements the specific `@bug`-tagged test in `tests/features/<feature-name>/` and also writes a `@given` Hypothesis property test in `tests/unit/` covering the whole class of inputs.
3. Both tests are required. SE follows the normal TDD loop (Step 3).

## Filesystem Structure

Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ minversion = "6.0"
markers = [
"slow: marks tests as slow (deselect with '-m \"not slow\"')",
"deprecated: marks tests for deprecated AC; automatically skipped (deselect with '-m \"not deprecated\"')",
"bug: marks tests that reproduce a reported defect (deselect with '-m \"not bug\"')",
]
addopts = """
--maxfail=10 \
Expand Down
Loading