Back to TresekoView full library

Requirements, stories and test cases with AI

How to go from a requirement to reviewable stories and test cases without losing coverage or human control.

Practical guide

1 guide found

All guides

Requirements, stories and test cases with AI

How to go from a requirement to reviewable stories and test cases without losing coverage or human control.

Open guide
Reading
11 min
Updated
2026-07-22
Version
1.0.6

When to use this guide

Use it when you want to document a need, generate proposals and verify that every criterion has linked test cases.

Expected result

The project keeps the chain requirement, story, test case and latest result, and no AI proposal is persisted without human selection.

Traceability connects Project, Requirement, Story, Test Case, Execution and Evidence. Each important change keeps history and can mark linked test cases for review.

Treseko separates three workflows: story generation, test case generation and test execution. Each selector keeps its own published version and editing one does not replace the others.

AI proposes content; the backend validates permissions, quota, contract and selection before creating stories or test cases within a transaction.

Recommended flow

  1. Create or select a project requirement.
  2. Complete context and acceptance criteria.
  3. Request estimation and review assumptions.
  4. Run the story generation workflow.
  5. Edit and only apply the selected stories.
  6. Open a story and review structured criteria.
  7. Generate test case proposals and review steps, data and expected results.
  8. Apply selected test cases and check the coverage matrix.

How to verify

  • The active workflow matches the correct use.
  • Proposals show the source requirement or story.
  • Criteria without coverage remain visible.
  • A malformed response does not create partial records.
  • Audit identifies user, workflow and version.

Common pitfalls

  • Using the execution workflow to generate stories or test cases.
  • Applying proposals without reviewing assumptions and criteria.
  • Interpreting an AI output as human approval.
  • Storing secrets inside prompts or agents.
requisitoshistoriastest casesaicoverage