Settings

Theme

Testing the tests written to test your code

pitest.org

1 points by ghostoftiber a year ago · 2 comments

Reader

ghostoftiberOP a year ago

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.

  • IronWolve a year ago

    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.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection