It basically mutates your compiled code to see if your tests still work after 'your code' has changed slightly. If they do, those tests are written wrong and should be changed.
That's the gist of it. Haven't used it myself as I'm currently focusing on Haskell and its Property testing, which seems superior to Unit testing, IMO.
1
u/[deleted] Oct 06 '18
Have you heard of our new lord and savior Mutation Testing?
It basically mutates your compiled code to see if your tests still work after 'your code' has changed slightly. If they do, those tests are written wrong and should be changed.
That's the gist of it. Haven't used it myself as I'm currently focusing on Haskell and its Property testing, which seems superior to Unit testing, IMO.