Difference between revisions of "DATE DEPENDENCY"

From Test Automation Patterns
Jump to navigation Jump to search
(Created page with "<div id="content_view" class="wiki" style="display: block"><span style="font-size: 14px">.........................................................................................")
 
m (Put topic titles in capital letters)
 
Line 1: Line 1:
 
<div id="content_view" class="wiki" style="display: block"><span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Design Issues]] / Back to [[Test Automation Issues]]</span>
 
<div id="content_view" class="wiki" style="display: block"><span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Design Issues]] / Back to [[Test Automation Issues]]</span>
=<span style="font-family: Arial; font-size: 16px">Issue Summary</span>=
+
=<span style="font-family: Arial; font-size: 16px">'''Issue Summary'''</span>=
 
<span style="font-size: 16px">Tests are dependent on a specific date</span>
 
<span style="font-size: 16px">Tests are dependent on a specific date</span>
=<span style="font-size: 16px">Category</span>=
+
=<span style="font-size: 16px">'''Category'''</span>=
 
<span style="font-size: 16px">Design</span>
 
<span style="font-size: 16px">Design</span>
=<span style="font-family: Arial; font-size: 16px">Examples</span>=
+
=<span style="font-family: Arial; font-size: 16px">'''Examples'''</span>=
 
* <span style="font-size: 16px">Test cases check age or time passed since something happened</span>
 
* <span style="font-size: 16px">Test cases check age or time passed since something happened</span>
 
* <span style="font-size: 16px">The expected results consist of prints that also show the creation date</span>
 
* <span style="font-size: 16px">The expected results consist of prints that also show the creation date</span>
 
+
=<span style="font-family: Arial; font-size: 16px">'''Questions'''</span>=
=<span style="font-family: Arial; font-size: 16px">Questions</span>=
 
 
<span style="font-size: 16px">Can the test cases be rewritten to avoid the date problem?</span><br /> <span style="font-size: 16px">Can the expected results be checked in some other way?</span>
 
<span style="font-size: 16px">Can the test cases be rewritten to avoid the date problem?</span><br /> <span style="font-size: 16px">Can the expected results be checked in some other way?</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-family: Arial; font-size: 16px">Most recommended:</span><br />  
 
<span style="font-family: Arial; font-size: 16px">Most recommended:</span><br />  
 
 
* <span style="font-size: 16px">[[DATE INDEPENDENCE]]: Apply this pattern in order to solve this specific issue</span>
 
* <span style="font-size: 16px">[[DATE INDEPENDENCE]]: Apply this pattern in order to solve this specific issue</span>
 
<br /> <span style="font-size: 16px">Other useful patterns:</span><br />  
 
<br /> <span style="font-size: 16px">Other useful patterns:</span><br />  
 
 
* <span style="font-size: 16px"><span style="font-size: 16px">[[KEEP IT SIMPLE]]: </span>Always apply this pattern!</span><br /> <br />  
 
* <span style="font-size: 16px"><span style="font-size: 16px">[[KEEP IT SIMPLE]]: </span>Always apply this pattern!</span><br /> <br />  
 
<br /> <span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[ Design Issues]] / Back to [[Test Automation Issues]]</span></div>
 
<br /> <span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[ Design Issues]] / Back to [[Test Automation Issues]]</span></div>

Latest revision as of 12:54, 4 May 2018

.................................................................................................................Main Page / Back to Design Issues / Back to Test Automation Issues

Issue Summary

Tests are dependent on a specific date

Category

Design

Examples

  • Test cases check age or time passed since something happened
  • The expected results consist of prints that also show the creation date

Questions

Can the test cases be rewritten to avoid the date problem?
Can the expected results be checked in some other way?

Resolving Patterns

Most recommended:


Other useful patterns:


.................................................................................................................Main Page / Back to Design Issues / Back to Test Automation Issues