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.

Cristian
  • 198,401
  • 62
  • 356
  • 264
chahuistle
  • 2,627
  • 22
  • 30

2 Answers2

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)

Sled
  • 18,541
  • 27
  • 119
  • 168
henry
  • 5,923
  • 29
  • 46
  • You have made my day, thank you @henry - tets mutation has been on my todo list for too long. – earcam Jan 24 '14 at 21:15
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.

Glorfindel
  • 21,988
  • 13
  • 81
  • 109
eis
  • 51,991
  • 13
  • 150
  • 199
  • not seen that paper before. Do you know if a pre-print is available to avoid the paywall? – henry Jun 05 '14 at 09:02
  • @henry 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. – eis Jun 05 '14 at 10:02