Project Description
NinjaTurtles adds the power of mutation testing to your usual .NET/Mono unit test framework (NUnit, xUnit, MSTest, Gallio-supported frameworks such as MbUnit).

Why NinjaTurtles? Simple:

logo.png

This project is now in beta. There is a compiled version available from NuGet. Our main website is at http://www.mutation-testing.net. If you'd like to download and play with the source code, please feel free. I also welcome offers of help and suggestions. Kick off a discussion here on CodePlex, or drop me a line.

NinjaTurtles currently supports the following intra-method mutations to code, via IL manipulation:
  • Statement deletion (at the sequence point level in the current version).
  • Replacing branch points based on a boolean condition with (i) the opposite condition, (ii) true and (iii) false.
  • Adjusting the inclusivity of boundary conditions (replacing < with <= for example).
  • Replacing arithmetic operators from the set {+, -, *, /, %} with each other.
  • Replacing bitwise operators from the set {&, |, ^} with each other.
  • Replacing reads from parameters and local variables of the same type with each other.
  • Replacing writes to local variables of the same type with each other.

You can use our console runner to apply mutation testing to a class in your own code base in one simple step. See the getting started guide for more details.

Last edited Aug 16, 2012 at 10:34 AM by davidmus, version 14