QA Fundamentals · Middle · Question 36 of 75
What is mutation testing?
- 1Testing how the user interface behaves when the DOM mutates
- 2Changing code slightly to check that tests detect the change
- 3Randomly changing the test data on every single test run
Show the answer
Correct answer: Changing code slightly to check that tests detect the change
Explanation
If tests still pass after > is changed to >=, they don't check that boundary. Tools like Stryker report the share of mutants killed.