How-To Testing and quality 113HOWTO-113

Testing and quality

Testing and quality practices for SpecDD projects. These guides show how to turn local specs into executable checks, coverage reviews, quality gates, CI workflows, regression protection, and testability decisions while keeping specs, tests, and implementation aligned.

← All How-To categories

11 guides Testing and quality
  1. Intermediate 4 min read
    How to use SpecDD with TDD

    Combine SpecDD's source-of-truth contracts with TDD's executable feedback loop so tests prove the behavior the spec defines.

    Read guide
  2. Intermediate 5 min read
    How to use SpecDD with BDD

    Bridge SpecDD and BDD by writing scenarios inside source-adjacent specs, deriving executable examples, and reviewing behavior together with boundaries.

    Read guide
  3. Beginner 4 min read
    How to define acceptance criteria for implementation

    Use SpecDD to write acceptance criteria that are behavioral, local, testable, and clear enough for humans and agents to implement and review.

    Read guide
  4. Intermediate 5 min read
    How to find test coverage gaps from specs

    Use specs as a coverage map: trace required behavior and boundaries to tests, identify missing checks, and decide what needs verification next.

    Read guide
  5. Intermediate 4 min read
    How to run quality gates after SpecDD changes

    Use quality gates to prove a SpecDD change is complete: lint specs, run relevant project checks, verify Done when criteria, and report skipped checks.

    Read guide
  6. Intermediate 5 min read
    How to use specs in CI

    Add SpecDD-aware CI checks that validate specs, run behavior and quality gates, protect negative constraints, and keep task completion honest.

    Read guide
  7. Intermediate 5 min read
    How to prevent regressions with local specs

    Use local specs to turn regressions into durable behavior and focused checks so the same bug or boundary violation does not return.

    Read guide
  8. Intermediate 4 min read
    How to review whether a spec is testable

    Use a practical testability review to catch vague specs before implementation starts and make behavior easier to verify.

    Read guide
  9. Intermediate 5 min read
    How to choose the right test level from a spec

    Use the spec's owner, behavior, risk, and Done when criteria to decide what kind of test or quality check should prove the change.

    Read guide
  10. Intermediate 4 min read
    How to test negative constraints

    Use tests, static checks, and review evidence to verify important Must not and Forbids rules without forcing every negative constraint into a unit test.

    Read guide
  11. Intermediate 6 min read
    How to test authorization rules from specs

    Use SpecDD policy and API specs to turn authorization rules into focused tests for allow, deny, bypass, and edge-case behavior.

    Read guide

More How-To categories