QA Fundamentals · Middle · Question 26 of 75
Why should tests not depend on each other's data?
- 1Order changes or parallel runs make them fail randomly
- 2Independent tests always run faster in every case
- 3Shared data makes test reports too long to read
Show the answer
Correct answer: Order changes or parallel runs make them fail randomly
Explanation
If test B needs the user created by test A, B fails when run alone or before A. Each test should create or reset the data it needs.