Skip to content

chore(workflow): integrate pytest-beehave and clean up @id conventions#78

Merged
nullhack merged 2 commits intomainfrom
chore/pytest-beehave-integration
Apr 19, 2026
Merged

chore(workflow): integrate pytest-beehave and clean up @id conventions#78
nullhack merged 2 commits intomainfrom
chore/pytest-beehave-integration

Conversation

@nullhack
Copy link
Copy Markdown
Owner

Summary

  • pytest-beehave integration: @id tags are now auto-assigned to untagged Example: blocks on every pytest run; test stubs are auto-generated at Step 2 end when the SE runs test-fast — no manual stub writing or ID generation needed
  • Naming convention cleanup: .feature file paths now use <feature-stem> (kebab), test directories use <feature_slug> (underscore) — applied consistently across all skills, AGENTS.md, and docs
  • Workflow simplification: removed manual deprecated skip hook from conftest.py (beehave owns it), removed all @id generation instructions from scope/SKILL.md and product-owner.md, removed the manual "Write Test Stubs" section from implementation/SKILL.md

Changes

File Change
pyproject.toml Add pytest-beehave[html]>=3.0; add [tool.beehave]; fix --cov=app
uv.lock Lock pytest-beehave==3.0.20260419
tests/conftest.py Remove manual deprecated marker skip hook
AGENTS.md Naming fixes; stub format → auto-generated; @bug without @id
README.md Add "Why this?" section; pytest-beehave in tooling table; auto-gen stub example
implementation/SKILL.md Stub generation at Step 2 end; remove manual stub section
scope/SKILL.md Remove @id manual rules, checklist items, and generation instructions
product-owner.md Remove @id from gap table and bug handling
session-workflow/SKILL.md Naming fixes
verify/SKILL.md Naming fixes
refactor/SKILL.md Naming fixes
pr-management/SKILL.md Naming fixes
living-docs/SKILL.md Naming fixes
docs/architecture.md Template naming fixes
docs/discovery.md Template naming fixes
docs/discovery_journal.md Template naming fixes

Testing

  • uv run task test-fast passes (1 test, no regressions)
  • No feature currently in-progress; stub generation will be validated on next feature

- Add pytest-beehave[html]>=3.0 to dev deps; configure [tool.beehave]
- Fix test-build task: --cov=pytest_beehave -> --cov=app
- Remove manual deprecated skip hook from conftest.py (beehave owns it)
- Naming: feature-stem for .feature paths, feature_slug for test dirs
- @id tags now auto-assigned on first pytest run; remove all manual generation instructions
- Test stubs auto-generated at Step 2 end via test-fast; remove manual stub section
- Add pytest-beehave to README tooling table; add Why section and auto-gen stub example
- Update product-owner.md, AGENTS.md, and all affected skills accordingly
…nforcement

- implementation/SKILL.md: number all 25 items 1-25; add count reminder comment
- verify/SKILL.md: add completeness hard gate (count must be 25, sequence must be gapless); expand report table from 21 to 25 numbered rows matching implementation template exactly
@nullhack nullhack merged commit ffc943a into main Apr 19, 2026
9 checks passed
@nullhack nullhack deleted the chore/pytest-beehave-integration branch April 19, 2026 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant