API Testing · Senior · Question 51 of 75

How can mutation testing evaluate an API test suite?

Show the answer

Correct answer: Change server logic slightly and see if any API test fails

Explanation

If flipping a validation rule leaves all tests green, the suite doesn't check it. Mutation scores point to weak assertions.

Further reading

Problem with a question

API Testing · Senior · question 51

Test yourself

Take the API Testing · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz