201 questions
0
votes
1
answer
77
views
Clojure mutant – can't kill a surviving mutant in binary search
I'm writing a classic binary search function in Clojure and testing it with the mutant mutation testing library.
My tests work fine in terms of correctness, but mutation testing reports one surviving ...
-4
votes
0
answers
22
views
Handling test files with no matching training data in fairness evaluation of subgroups [closed]
Workflow Summary
1.Training the Model
I load the cleaned adult_cleaned.data as my training data.
I preprocess the data (e.g., converting income into a binary label, handling missing values).
I train a ...
1
vote
1
answer
121
views
Why does a mutant survive in PIT mutation testing despite seemingly causing infinite recursion?
I'm performing mutation testing using PIT in a Java project and encountered a case where a mutant survives even though it should cause a stack overflow error. I am able to fix the issue with different ...
0
votes
1
answer
93
views
Adding a prefix command to all ctest executions
I am following the instructions to use the mutation testing framework Mull and integrating it with CMake
https://mull.readthedocs.io/en/latest/tutorials/CMakeIntegration.html
The last step involves ...
0
votes
0
answers
79
views
Why does Stryker JS hang when used with angular ng test?
This is my project structure:
stryker.config.json:
{
"$schema": "./node_modules/@stryker-mutator/core/schema/stryker-schema.json",
"_comment": "This config was ...
2
votes
1
answer
140
views
Multi-threaded mutation testing with Laravel
I am trying to use Infection (https://infection.github.io/) on a Laravel 10 codebase and am running into issues when running Infection with more than 1 thread. Running it single threaded is not ideal ...
0
votes
0
answers
194
views
Pitest Android: tests did not pass without mutation when calculating line coverage. Mutation testing requires a green suite
I'm having a lot of issues trying to make Pitest run against my Android project. I've solved a lot of problems related with Java/Gradle/Kotlin versions but now I'm stuck in a custom Pitest error:
...
0
votes
1
answer
126
views
Why does Golang's coverage report mark case statements in a switch as not tracked?
I'm running into an issue with Golang's coverage report where case statements within a switch block are marked as not tracked, even though I have written tests that execute these cases. Is this a ...
1
vote
0
answers
201
views
How to exclude calls that are being done inside a logger when using PIT Mutation Testing?
I'm using PIT mutation testing in a Java project (version 21), and I'm facing an issue regarding the exclusion of log calls from the mutation process.
In my codebase, I have several log statements ...
0
votes
1
answer
315
views
Can I run Pitest on only 2 test files (no mutations found issue)?
So I'm having issues with the following error when running Pitest "Skipping coverage and analysis as no mutations found". The advice I've seen so far seems to be editing the maven or gradle ...
1
vote
1
answer
64
views
Change execution directory
I'm playing around with stryker.net but get a file not found exception, which is not unusual, because I've got some dependencies which are stored in an other directory, where my output files are ...
1
vote
1
answer
141
views
C# - operator overloading through inheritance
I am trying to come up with the way to implement a way to perform a Mutation test on my class (yes I am aware of Stryker .NET).
For the sake of simplicity, let's say that I want to write a Mutator ...
1
vote
1
answer
1k
views
PITest with gradle Unsupported class file major version
I'm trying to get pitest running in this java gradle project but having a VERY difficult time... 😢
I have at least two problems: one about packages and one about Java versions.
1)
The first issue is ...
0
votes
0
answers
379
views
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 + ...
0
votes
1
answer
265
views
Why Does Stryker Fail To Run For This TypeScript Express Project?
I have a public repo here that is a simple ExpressJS NodeJs project in TypeScript which uses Jest for unit tests.
When I run npx stryker run --fileLogLevel trace --logLevel debug though I get this ...