Urgent.News

What's breaking now, across thousands of outlets.

More in Tech

Tests that prove something: break a copy and see the test fail

A green suite only counts if it can go red. So when a test is written for a fix, the practice in Yonto Player's repo is to revert the fix and watch that test fail, and to break the exact line the test…

  • Tests verify bug fixes by reverting fixes and confirming test failures
  • Two claims: addressing behavior or establishing a new rule
  • Mutate code one decision at a time, revert changes to isolate impact

More from Thursday 19 November →