Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What mutation-testing frameworks exist? [closed]

In another question I asked if mutation-testing is useful in practice. As I didn't get any answers that satisfy me, I want to check the current tools myself. So I need an overview about current existing mutation-test-frameworks. Which of them are most usable and why?

  • I program in Java, so I would prefer Java-tools, but I would risk a look at interesting frameworks for different languages.
  • I want to integrate in an automatic build-process, so I would prefer tools that can be executed through command-line.
like image 900
Mnementh Avatar asked Oct 29 '08 11:10

Mnementh


People also ask

What is mutation in c#?

Mutation testing is a method of software testing in which program or source code is deliberately manipulated, followed by suite of testing against the mutated code. The mutations introduced to source code are designed to imitate common programming errors.

What is mutation testing Python?

Mutpy is a Mutation testing tool in Python that generated mutants and computes a mutation score. It supports standard unittest module, generates YAML/HTML reports and has colorful output. It applies mutation on AST level.

How can additional mutants be killed during mutation testing?

The mutants can be kept and re-used in another code mutation test once the testing software has been worked on. If the test results from the mutants to the original programs are different, with the software test detecting the faults in the mutants, then the mutants can be discarded, or killed.


1 Answers

There is also PIT which can be hooked into your build via a maven plugin or command line interface.

It provides much nicer reports than the other available tools with combined mutation and line coverage. It also runs considerably faster than the source based tools for Java such as Jester, and about twice as fast as Jumble.

Unlike the Jumble and Javalanche it also works with all the major mocking frameworks (Mockito, JMock, EasyMock, PowerMock and JMockit).

(disclosure I'm the author).

like image 173
henry Avatar answered Oct 07 '22 16:10

henry