When have we taken the art of testing too far? Perhaps when we start testing our tests? Or perhaps when we start testing the tests of our tests?
PIT, which has just released version 0.24, is running inside one of these time testing paradoxen (plural of paradox?), testing the tests by creating mutations, and in a fashion of violence that is somewhat unfamiliar in the Java community, attempting to kill those mutations. "PIT is a fast bytecode based mutation testing system for Java that makes it possible to test the effectiveness of your unit tests. You can think of mutation testing as either as an automated test of your tests, or as a much more in depth form of code coverage." -http://pitest.org/
Anyways, for those masochists that are into this type of thing, PIT .24 is out, and it now works with all of those popular mocking frameworks out there, such as Mockito, JMock, EasyMock, PowerMock, JMockit. Check out the release notes below:
End of Editor's Note
PIT 0.24 has been released and is available now from google code and maven central. A major improvement made in this release is the addition of support for JMockit. This makes PIT the only mutation testing system to be compatible with all the main mocking frameworks (Mockito, JMock, EasyMock, PowerMock and JMockit),
For further details of the release.Edited by: Cameron McKenzie on Dec 5, 2011 4:00 PM Edited by: Cameron McKenzie on Dec 5, 2011 6:08 PM Edited by: Cameron McKenzie on Dec 5, 2011 6:09 PM