CogitaveLearn

Test to the standard and pass the quality gate

Learn how Cogitave tests a change - the pyramid/trophy shape, the diff-coverage and mutation gates, flaky-test quarantine, the runnable harness, and the craftsmanship review bar - so you can test your own change and get it through the gate.

Units5
Duration25 min
Levelintermediate

By the end of this module, you'll be able to:

  • Choose the right test shape and tier for a change, and apply the rule that overrides the ratios.
  • Explain why coverage is a floor, why diff coverage is the blocking gate, and why mutation testing is the real adequacy gate for critical modules.
  • Use the test harness - the runners, the inner and outer loop, and the gate-to-DoD map - to run the right tier and read the gate.
  • Pass the code-craftsmanship review bar, favoring correctness by construction and never applying a principle dogmatically.

Prerequisites

  • Basic familiarity with writing and running automated tests.
  • Helpful, but not required: the "Apply the AGENTS floor" module.

Units

  1. 01Introduction4 min
  2. 02The testing standard7 min
  3. 03The test harness and the quality bar7 min
  4. 04Knowledge check4 min
  5. 05Summary3 min