Questions tagged [pittesting]
8 questions
4
votes
0 answers
PIT test says Minion exited abnormally due to TIMED_OUT
I have added mutation test plugin to Springboot app's pom. When I do mvn clean install, build passes but it is taking too long to complete install. Below are the logs and configuration for pit tests. I have same config for other apps and I don't…

StrugglingDevloper
- 41
- 2
2
votes
0 answers
How to exclude specific methods and classes from pit mutations (intelliJ)
I have a little java project with Test. I see two options for PIT tests:
1.) Pittest all classes in modulo
2.) Pittest one single file
Now I have two problems, firstly, when I run the pittest, it also mutates the toString() Method, which is for…

capoaira
- 89
- 1
- 1
- 7
1
vote
0 answers
How to do Pit Tests (Mutation tests) with Junit5 in InteliJ
I tried to set up Pit Tests in inteliJ-idea but unfortunately i am not sure how to set it up, in the end i did them in eclipse and it is much easier to navigate, but i would like to know how to set them up on inteliJ-idea. It is kinda stupid to…

Огњен Ђурановић
- 23
- 6
0
votes
0 answers
Problem with pit mutation: "Replaced long addition with subtraction"
I'm newbie with mutation testing. I'm using Pit and in the following line of code there are 4 mutations of the same type: Replaced long addition with subtraction
long newsize = position + START_OF_DATA + total;
But I can't figured out why he gaves…

Ella
- 21
- 1
- 4
0
votes
0 answers
PIT mutation testing in Jenkin s ignores some classes
I have upwardes of 200 classes in a Maven java application and I use Jenkin to manage the test and build.
Jenkins continued to report a nice high coverage figure but when I dig into the report I notioced some classed hadf not been analysed.
These…

lx4go
- 11
- 2
0
votes
1 answer
Junit And Mockito, Capturing method call on passed argument
I am relatively new to Mockito and Junit in Java. How can I capture or verify the interaction on the argument passed to function that I am testing.
Ex-- Main class
public class A{
public void setValues(Person p){
p.setFirstName('Lucky');
…

Jay Yadav
- 236
- 1
- 2
- 10
0
votes
1 answer
How can I force pit to use a particular junit version
I am using pit 1.6.7 and I want to use JUnit 4.12, but it looks like pit is always using junit 3.8.1 even junit 4.12 is in the dependency.
How can I force PIT to use junit 4.12 in the maven pom file.

middle-mood
- 11
- 3
0
votes
0 answers
no mutations found PitTest Maven
First time trying to use pitTest and maven,
Using IntelliJ Idea.
For the following pom.xml snippet:
org.apache.maven.plugins
…

Griffinhand
- 16
- 3