Skip to content
fx-blog
Series · 2 parts · 8 min

Tests Green for the Right Reason

  1. Part 14 min readIntermediateUp 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.

  2. Part 24 min readIntermediate

    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.