API Testing · Junior · Question 55 of 75
Why should API tests not depend on data that someone created by hand?
- 1APIs can't read data that people created by hand
- 2Data may change or vanish, making tests fail randomly
- 3Hand-made data is always stored in a different format
Show the answer
Correct answer: Data may change or vanish, making tests fail randomly
Explanation
Tests that create their own data (and clean it up) are repeatable and can run in any environment.