DATE DEPENDENCY
Jump to navigation
Jump to search
.................................................................................................................Main Page / Back to Design Issues / Back to Test Automation Issues
.................................................................................................................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:
- DATE INDEPENDENCE: Apply this pattern in order to solve this specific issue
Other useful patterns:
- KEEP IT SIMPLE: Always apply this pattern!
.................................................................................................................Main Page / Back to Design Issues / Back to Test Automation Issues