Skip to content
← All paths

Write tests that fail

The assistant wrote the code and the tests, and everything is green. Your job: write the test that should have failed. Happy paths, tautologies, missing boundaries and over-mocking.

2 exercises · ~13 min · 9 more coming soon

What you will practice

  1. The age validator that only tested the happy path

    Tests · TS · 5 min

  2. Shipping tests that only confirm the code

    Tests · TS · 8 min