Repository navigation
openspec-tdd 0.7.0
Test levels for slices, and a fix of the setup check of the flow plugin.
- Test level of a slice. A language whose entry in
.awf/languages.yamldeclareslevels(one path pattern per level:unit,functional,integration) has each slice carry its level next to its language tag,[php] [unit].- The new
levelsgate offlow-proposeandflow-updatefails on a slice without a level. - RED fails with code 14 when a test file of the slice is at another level.
- A language without
levelssees no change.
- The new
- Level rules. The RED tester and the PHP, TS and Go profiles say which level proves which kind of scenario: the lowest that proves the behavior.
design.mdends with a test strategy that gives each scenario its level. - Go levels.
_functional_test.go, and_integration_test.gobehind theintegrationbuild tag, which the newgointegrationtool of the example registry runs. - Pyramid.
apply-change.jsoncounts the test files per level, in the project and in the change (pyramid);openspec-tasks.sh pyramid <change>prints the same. /flow:setupfix.zpm versionwrites to stderr: the check read an empty version and reported zpm as too old.
Requires awf 0.11.9 or later.
awf workflow install gplanchat/awf-workflow-openspec-tdd@0.7.0