Skip to content

Testing the tests written to test your code

pitest.org
1 pointghostoftiber2 comments
On HN

Comments

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.

I've seen code that works well for a piece of middleware, but when the stack is complete, testing the entire stack is always done with perfect data.

An entire stack failing due to a piece of the stack for so many reasons is so common.

Testing is a skillset that many don't have without experience.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.