Loading...
Loading...
Add acceptance tests under a functional spec in a ***plain spec file. Use when the user wants to add verification criteria for a specific functional spec, or after adding a functional spec that needs testable success criteria.
npx skill4agent add codeplain-ai/plain-forge add-acceptance-testload-plain-reference.plain***test reqs******acceptance tests***add-functional-spec***acceptance tests******functional specs***
- The system should process :Task: items in batches of 100.
***acceptance tests***
- Processing 250 :Task: items should result in 3 batches.
- Each batch should contain at most 100 items.***acceptance tests******acceptance tests***Functional spec:
- The system should return :Resource: items sorted by creation date in descending order.
Good (consistent):
- The first :Resource: in the response should have the most recent creation date.
Bad (contradicts the spec — the spec says descending, not ascending):
- The first :Resource: in the response should have the oldest creation date.
Bad (extends beyond the spec — the spec says nothing about limiting results):
- The response should contain at most 50 :Resource: items.Good: - The response should contain exactly 3 items.
Bad: - The response should be correct.***test reqs******acceptance tests***