devonfw / IDEasy

Tool to automate the setup and updates of a development environment for any project (Successor of devonfw-ide).
Apache License 2.0
8 stars 23 forks source link

Mutation testing #301

Closed ndemirca closed 2 months ago

ndemirca commented 6 months ago

Mutation testing is a technique for assessing the quality of tests by creating artificially faulty versions of the source code, known as "mutants". The goal is to determine if your tests can detect these mutants. It provides an indicate how effective your tests are if they can uncover potential flaws in the code.

  1. Research various tools and frameworks, such as PIT, for conducting mutation testing.
  2. Evaluate and determine the most suitable option for our project.
  3. Present the findings to the team.
  4. Collaboratively decide on the preferred solution.
  5. Implement the chosen approach.
slskiba commented 3 months ago

PIT seems to be the best adopted mutation testing system for java.

Alternatives to PIT are often developed for academic purposes and no longer actively developed or supported, such as muJava, Jester / Simple Jester, Jumble, or Javalance

The Major Mutation Framework is in active development, with its latest release in May 29, 2024. However it does not yet support maven, and the standalone usage might be very tricky to implement.