Series · 2 parts · 8 min
Tests Green for the Right Reason
- 1Part 1·4 min read·IntermediateUp next
A Test That Passed on Retry Is Not Green
CI retries a failing test, the retry passes, and the pipeline goes green with a flaky test inside it. How the playwright template stops that: retries run isolated at the end, and a release gate reads the JSON report and fails on any flaky smoke or critical pass.
- 2Part 2·4 min read·Intermediate
API Tests That Fail When the Contract Moves
An API test that checks one field stays green while the backend renames or retypes another. API contract testing in Python: approved JSON Schema files, checked against every live response and against your own model, with the JSON path in every failure.