Java Mutation Testing Integration with Maven [closed]
Asked Answered
L

2

12

Our project will integrate mutation testing as part of its build cycle. Right now, we are on the evaluation phase.

So far, I have only found that Jester has a maven-plugin (Grester). I have not been able to find anything for the other mutation testing tools available (Jumble, µJava and Javalanche). Of course, we want full maven integration. We do not want to reinvent the wheel (i.e., write our own maven plugin for the tool that we choose).

Do you know of any maven-plugins for those Jumble, µJava and Javalanche? I've already googled and, like I said, have only found Grester. Also, if you know of any other mutation testing tools for java, any hints will be greatly appreciated.

Linnlinnaeus answered 6/2, 2011 at 23:0 Comment(1)
look at PIT: pedrorijo.com/blog/intro-mutationSempach
P
16

PIT, provides a Maven plugin.

It's available from Maven central and has the advantage of being considerably faster than Jester, Jumble or muJava. It is also actively developed and supported which does not seem to be the case for Jester or muJava.

(disclosure I'm the author and am probably unfairly biased)

Persiflage answered 1/3, 2011 at 22:15 Comment(1)
You have made my day, thank you @Persiflage - tets mutation has been on my todo list for too long.Conversant
D
3

Of the mutation testing tools in the java world, I've found this about Maven support:

  • µJava: no
  • Bacterio: no (uses its own ide)
  • Javalanche: no (uses its own ide)
  • muTest (µTest): no
  • Jumble: yes
  • PIT: yes
  • Jester: yes
  • Simple Jester: no
  • Judy: no
  • MAJOR: no (uses its own compiler)

(This information was found by googling and from the article Delahaye, du Bousquet: A Comparison of Mutation Analysis Tools for Java.)

My vote would also go for PIT.

Decorum answered 5/6, 2014 at 5:41 Comment(2)
not seen that paper before. Do you know if a pre-print is available to avoid the paywall?Persiflage
@Persiflage not aware of such. I have the paper, I can quote the PIT-related stuff if you're interested (though it's just $13-31 to buy). It is a good comparison which I referred to in my thesis as well.Decorum

© 2022 - 2024 — McMap. All rights reserved.