Currently I have some tests that are blamed to not catch bugs very well. I want to do mutation testing in order to detect them (and prevent from adding new useless ones), but without the time-inefficient loop: change the code -> recompile -> run tests -> change the code -> recompile -> run tests... etc.
Initially I wanted to mutate somehow binary elf files directly (no recompilation), but as later posts suggested, it makes no sense.
Ok, I was able to solve it partially, by splitting the mutation testing into 4 main stages:
The implementation is done in python and C++, it is around ~1700 lines of code (with tests) + minor adaptations in the production code (CMake, and the gtest main.cpp file). It supports only a couple of simple mutations, but it still makes fun :)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With