Difference between revisions of "LITTER BUG"

From Test Automation Patterns
Jump to navigation Jump to search
m (Topic titles in capital letters)
m (corrected link to Execution issues)
Line 10: Line 10:
 
<span style="font-size: 16px">'''Questions'''</span><br /> <span style="font-size: 16px">Are your tests Independent from each other?</span><br /> <span style="font-size: 16px">What happens when the system crashes?</span>  
 
<span style="font-size: 16px">'''Questions'''</span><br /> <span style="font-size: 16px">Are your tests Independent from each other?</span><br /> <span style="font-size: 16px">What happens when the system crashes?</span>  
 
=<span style="font-family: Arial; font-size: 16px">'''Resolving Patterns'''</span>=
 
=<span style="font-family: Arial; font-size: 16px">'''Resolving Patterns'''</span>=
<span style="font-size: 16px">[[FAIL GRACEFULLY]]: If a test fails it should restore the system and the environment so that the successive tests are not affected</span><br /> <br /> <br /> <span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to Execution Issues / Back to [[Test Automation Issues]]</span></div>
+
<span style="font-size: 16px">[[FAIL GRACEFULLY]]: If a test fails it should restore the system and the environment so that the successive tests are not affected</span><br /> <br /> <br /> <span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Execution Issues]] / Back to [[Test Automation Issues]]</span></div>

Revision as of 17:41, 7 May 2018

.................................................................................................................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

  1. A test changes the database so that it cannot run again with the same initial conditions
  2. If a test fails, it leaves the System under Test in such a condition that no more tests can run
  3. 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