![]() | Testcover.com | |
| Tutorial - Constraints Example | ||
|
Home Existing User Login Brochure Sign up for Risk-Free Trial About Testcover.com Frequently Asked Questions Tutorial ->Definitions of Terms ->Need for the Service ->Submitting Requests ->Reading Results ->Configuration Example ->Constraints Example ->Calendar Example ->RDF/XML Example Performance Background Partners Subscription Prices Promotion Activations Student Subscriptions Privacy Policy Terms & Conditions Contact Information |
The Constraints Example is summarized below.
The test system has five test factors with values as follows.
The first way to define the blocks is by operating system.
One block defines the allowed test cases for WXP and WME.
Another defines the allowed test cases for OSX10, and a third defines them for LNX9.
The supported browsers are included in their respective blocks.
(See the request below.)
The second way to define the blocks is by browser.
One block defines the allowed test cases for NS7 and MZL1.5.
Another defines the allowed test cases for IE5, and a third defines them for IE6.
The supported operating systems are included in their respective blocks.
The key here is that any test case defined by a block is allowed.
When the blocks are taken together, they define all the allowed test cases and none of the disallowed ones.
It is possible to specify blocks that overlap in various ways also.
All of these block definitions are equivalent when they exclude the three unsupported combinations.
They lead to test cases covering all the allowed combinations.
However different block definitions lead to minor variations in the resulting test cases.
The following request illustrates the constraints example with the blocks defined by operating system.
(The text following the plus (+) on the first line of the block is an optional comment.)
The results table is shown below.
It has columns for a Test Case ID, for each test factor and for a Combo Countdown.
The top row of the table labels these columns.
The next row shows the number of values for each factor and the total number of factor value pairs
in the Combo Countdown column.
|
In this example there are
| 4 3 | + 4 4 | + 4 4 | + 4 3 | |
| + 3 4 | + 3 4 | + 3 3 | ||
| + 4 4 | + 4 3 | |||
| + 4 3 | = 129 |
In this example
there must be at least 4 4 = 16 test cases to include the pairs of values
for the two factors with the most values (4).
If there were no constraints, the generator would produce exactly 16 test cases here.
However because there are constraints in the test system, a few additional test cases are required.
<Configuration Example
Calendar Example>
Copyright © 2003-2008 Testcover.com, LLC. All rights reserved.