API Testing · Middle · Question 39 of 75

How do you make API tests independent of each other?

Show the answer

Correct answer: Each test creates its own data and cleans up afterwards

Explanation

Independent tests can run in parallel and in any order, and a failure doesn't cascade.

Further reading

Problem with a question

API Testing · Middle · question 39

Test yourself

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

Take this quiz