LITTER BUG
Jump to navigation
Jump to search
.................................................................................................................Main Page / Back to Execution Issues / Back to Test Automation Issues
.................................................................................................................Main Page / Back to Execution Issues / Back to Test Automation Issues
Issue Summary
Tests leave spurious data in databases, history etc. that slows performance or hinders further tests
Category
Execution
Examples
- A test changes the database so that it cannot run again with the same initial conditions
- If a test fails, it leaves the System under Test in such a condition that no more tests can run
- A test writes so much stuff that the next tests either cannot execute or are much slower
Questions
Are your tests Independent from each other?
What happens when the system crashes?
Resolving Patterns
FAIL GRACEFULLY: If a test fails it should restore the system and the environment so that the successive tests are not affected.................................................................................................................Main Page / Back to Execution Issues / Back to Test Automation Issues