Difference between revisions of "REPETITIOUS TESTS"

From Test Automation Patterns
Jump to navigation Jump to search
m (Topic titles in capital letters)
m (empty lines removed)
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><br />  
+
<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-family: Arial; font-size: 16px">Test cases repeat the same actions on different data</span>  
 
<span style="font-family: Arial; font-size: 16px">Test cases repeat the same actions on different data</span>  
Line 12: Line 12:
 
* <span style="font-size: 16px">[[ DATA-DRIVEN TESTING]]: this pattern is one of the most applied on the field (even if nobody knows that it's a pattern!) </span>
 
* <span style="font-size: 16px">[[ DATA-DRIVEN TESTING]]: this pattern is one of the most applied on the field (even if nobody knows that it's a pattern!) </span>
 
<span style="font-size: 16px">Other useful patterns:</span><br />  
 
<span style="font-size: 16px">Other useful patterns:</span><br />  
* <span style="font-size: 16px">[[DON’T REINVENT THE WHEEL]]: applying this pattern will help you develop reusable testware</span>
+
* <span style="font-size: 16px">[[DON'T REINVENT THE WHEEL]]: applying this pattern will help you develop reusable testware</span>
 
* <span style="font-size: 16px">[[ REFACTOR THE TESTWARE]]: re-design the tests so that they are more efficient</span><br /><br />
 
* <span style="font-size: 16px">[[ REFACTOR THE TESTWARE]]: re-design the tests so that they are more efficient</span><br /><br />
 
<span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Design Issues]] / Back to [[Test Automation Issues]]</span></div>
 
<span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Design Issues]] / Back to [[Test Automation Issues]]</span></div>

Revision as of 17:28, 7 May 2018

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

Issue summary

Test cases repeat the same actions on different data

Category

Design

Examples

  1. Test cases have the same structure, for instance entering a customer with his address, but use different values

Questions

Are the test cases really similar?

Resolving Patterns

Most recommended:

  • DATA-DRIVEN TESTING: this pattern is one of the most applied on the field (even if nobody knows that it's a pattern!)

Other useful patterns:

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