Interview Prep/CI/CD/Testing and Quality Gates

What is mutation testing?

AdvancedConceptTesting and Quality Gates
Answer

A mutation testing tool (PIT for Java, Stryker for JS/.NET, mutmut for Python) makes small changes to the code (flip > to >=, remove a call) and reruns the tests; if tests still pass, the mutant "survived", exposing weak tests. The mutation score is a better quality measure than coverage but is expensive, so run it on changed modules or nightly.

All CI/CD questions Roadmap: CI/CD fundamentals

More on Testing and Quality Gates