Difference between revisions of "TEMPLATE TEST"

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">.........................................................................................")
 
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
<div id="content_view" class="wiki" style="display: block"><span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Design Patterns]] / Back to [[Test Automation Patterns]]</span>
 
<div id="content_view" class="wiki" style="display: block"><span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Design Patterns]] / Back to [[Test Automation Patterns]]</span>
=<span style="font-size: 16px">Pattern summary</span>=
+
=<span style="font-size: 16px">'''Pattern summary'''</span>=
 
<span style="font-size: 16px">Define a template test case as a standard from which you can drive all kinds of test case variations.</span>
 
<span style="font-size: 16px">Define a template test case as a standard from which you can drive all kinds of test case variations.</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><br />  
<span style="font-size: 16px">Context</span>
+
=<span style="font-size: 16px">'''Context'''</span>=
 
<span style="font-size: 16px">Use this pattern to develop test automation eficiently. For disposable scripts is is not necessary but still quite useful</span>
 
<span style="font-size: 16px">Use this pattern to develop test automation eficiently. For disposable scripts is is not necessary but still quite useful</span>
=<span style="font-size: 16px">Description</span>=
+
=<span style="font-size: 16px">'''Description'''</span>=
 
<span style="font-size: 16px">Define a standard automated test case. New test cases can be created by varying only one data field at a time. This makes it much easier to write new tests. In fact the process of varying the data may also be able to be automated (although remember that you also need to know what the expected result of the test will be).</span>
 
<span style="font-size: 16px">Define a standard automated test case. New test cases can be created by varying only one data field at a time. This makes it much easier to write new tests. In fact the process of varying the data may also be able to be automated (although remember that you also need to know what the expected result of the test will be).</span>
=<span style="font-size: 16px">Implementation</span>=
+
=<span style="font-size: 16px">'''Implementation'''</span>=
 
<span style="font-size: 16px">The standard test case should drive the Software Under Test (SUT) in what should be the most common usage, for instance you set up a standard user with the most common characteristics. To create new tests you can then, based on this benchmark, vary the details to check the possible combinations of values.</span>
 
<span style="font-size: 16px">The standard test case should drive the Software Under Test (SUT) in what should be the most common usage, for instance you set up a standard user with the most common characteristics. To create new tests you can then, based on this benchmark, vary the details to check the possible combinations of values.</span>
=<span style="font-size: 16px">Experiences</span>=
+
 
<span style="font-size: 16px">If you have used this pattern, please add your name and a brief story of how you used this pattern: your context, what you did, and how well it worked - or how it didn't work!</span><br /> <br /> <span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Design Patterns]] / Back to [[Test Automation Patterns]]</span></div>
+
=<span style="font-size: 16px">'''Potential Problems'''</span>=
 +
<span style="font-size: 16px">The template needs to be accepted and used by everyone if it is to act as a standard. Having everyone contribute to the design of the template can help to overcome some resistance to using it. </span>
 +
 
 +
=<span style="font-size: 16px">'''Issues addressed by this pattern'''</span>=
 +
 
 +
<span style="font-size: 16px">This pattern is only used by another pattern: [[SET STANDARDS]].</span><br />
 +
 
 +
=<span style="font-size: 16px">'''Experiences'''</span>=
 +
 
 +
<span style="font-size: 16px">If you have used this pattern and would like to contribute your experience to the wiki, please go to [[Feedback]] to submit your experience or comment.</span><br /> <br />  
 +
 
 +
<span style="font-size: 14px">.................................................................................................................[[Main Page]] / Back to [[Design Patterns]] / Back to [[Test Automation Patterns]]</span></div>

Latest revision as of 15:58, 21 August 2018

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

Pattern summary

Define a template test case as a standard from which you can drive all kinds of test case variations.

Category

Design

Context

Use this pattern to develop test automation eficiently. For disposable scripts is is not necessary but still quite useful

Description

Define a standard automated test case. New test cases can be created by varying only one data field at a time. This makes it much easier to write new tests. In fact the process of varying the data may also be able to be automated (although remember that you also need to know what the expected result of the test will be).

Implementation

The standard test case should drive the Software Under Test (SUT) in what should be the most common usage, for instance you set up a standard user with the most common characteristics. To create new tests you can then, based on this benchmark, vary the details to check the possible combinations of values.

Potential Problems

The template needs to be accepted and used by everyone if it is to act as a standard. Having everyone contribute to the design of the template can help to overcome some resistance to using it.

Issues addressed by this pattern

This pattern is only used by another pattern: SET STANDARDS.

Experiences

If you have used this pattern and would like to contribute your experience to the wiki, please go to Feedback to submit your experience or comment.

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