Mutation testing

Code coverage

  • Example - Pitest

  • Changing the code and see if it breaks the test

  • Can take a long time

    • but can store the data, then on the next time can run the tests on the delta

  • Much better than doing code coverage via lines hit

  • https://journal.optivem.com/p/code-coverage-vs-mutation-testing

Issues

  • https://mail.google.com/mail/u/0/?tab=wm#inbox/FMfcgzGqQJlfVkwPHWjQbPPfkQGcPJnB

  • https://testing.googleblog.com/2021/04/mutation-testing.html

Last updated