{
  "uid": "cogitave.learn.testing-and-quality.summary",
  "kind": "moduleUnit",
  "href": "/modules/testing-and-quality/summary/",
  "title": "Summary",
  "summary": "",
  "type": null,
  "products": [],
  "roles": [],
  "levels": [],
  "subjects": [],
  "headings": [
    "Next steps"
  ],
  "source": "You can now test a change to Cogitave's standard and reason about the gate it must\npass.\n\nIn this module, you:\n\n- Learned that a test is **release-blocking evidence**, and that policy lives\n  in the Testing & Quality Standard while the runnable side lives in the Test\n  Harness Reference.\n- Saw that test shape follows the layer - a **pyramid** for the backend, a\n  **trophy** for UI - under one overriding rule: **test at the lowest tier that\n  can observe the behavior**.\n- Named the coverage stance: coverage is a floor and a trend, **diff coverage\n  (90% of changed lines) is the gate**, and **mutation testing (>= 80% killed)**\n  is the real adequacy gate for `tier: critical` modules.\n- Learned that a **flaky test is a bug** - quarantined with an owner and a 7-day\n  deadline, never silenced with retries.\n- Matched each CI gate to its Definition-of-Done item, and learned that green\n  gates are necessary but not sufficient - a CODEOWNER still approves.\n- Learned the craftsmanship review bar: **correctness by construction** first,\n  simplicity as its counterweight, and that **dogmatic application is itself an\n  anti-pattern**.\n\n## Next steps\n\n- @cogitave.learn.api-design - the next module in **Cogitave engineering\n  standards**, on shaping and versioning the contract surfaces these gates\n  protect.\n- The **Testing & Quality Standard**, in the estate's standards repository,\n  is worth a re-read at the source; the thresholds are the gate.\n- The **Test Harness Reference** has the exact commands and configs to wire\n  the gates into a repo.\n- The **Code Craftsmanship Standard** is the full reviewer and eval checklist\n  your change is measured against.\n",
  "partOf": "cogitave.learn.testing-and-quality",
  "durationInMinutes": 3,
  "quiz": null
}