from Hacker News

Testing the tests written to test your code

by ghostoftiber on 1/14/25, 9:45 PM with 2 comments

  • by ghostoftiber on 1/14/25, 9:45 PM

    To put it another way - PIT runs your unit tests against automatically modified versions of your application code. When the application code changes, it should produce different results and cause the unit tests to fail. If a unit test does not fail in this situation, it may indicate an issue with the test suite.