Home
Existing User Login
Brochure
Sign up for Risk-Free Trial
About Testcover.com
Frequently Asked Questions
Tutorial with Examples
->Need for the Service
->Submitting Requests
->Reading Results
->Configuration Example
->Constraints Example
->Calendar Example
->Database Table Example
->Finite State Machine
->Hierarchical State Machine
->Definitions of Terms
Performance
WSDL Interface
Background
Partners
Subscription Prices
Subscription Activations
Student Subscriptions
Privacy Policy
Terms & Conditions
Contact Information
|
The Configuration Example shows how to generate test configurations
for a simple networked computer system with no constraints.
There are five test factors with values as follows.
| Test Factor | Number of Values | Test Factor Values |
| 1. Operating system | 2 | XP Vista |
| 2. Display resolution | 3 | low medium high |
| 3. Connection | 4 | wi-fi dsl cable lan |
| 4. Browser | 4 | IE Firefox Opera Safari |
| 5. Application | 3 | App1 App2 App3 |
There are no constraints among the factor values,
so any combination is allowed as a test case,
and only one block is needed.
The request for this example is shown below.
Configuration Example
Operating System
Display resolution
Connection
Browser
Application
#
XP Vista
low medium high
wi-fi dsl cable lan
IE Firefox Opera Safari
App1 App2 App3 |
The results table below 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.
Test Case ID |
Operating System |
Display resolution |
Connection |
Browser |
Application |
Combo Countdown |
|
| 2 Values | 3 Values | 4 Values | 4 Values | 3 Values | 101 |
| 1 | Vista | low | dsl | Safari | App1 | 91 |
| 2 | Vista | high | lan | IE | App2 | 81 |
| 3 | Vista | medium | cable | Opera | App3 | 71 |
| 4 | XP | medium | lan | Firefox | App1 | 61 |
| 5 | XP | low | wi-fi | Safari | App3 | 52 |
| 6 | XP | high | dsl | Opera | App2 | 43 |
| 7 | Vista | low | cable | Firefox | App2 | 36 |
| 8 | Vista | high | wi-fi | Opera | App1 | 30 |
| 9 | XP | medium | cable | IE | App1 | 24 |
| 10 | Vista | high | dsl | Firefox | App3 | 19 |
| 11 | Vista | medium | wi-fi | Firefox | App2 | 15 |
| 12 | XP | high | cable | Safari | App2 | 11 |
| 13 | Vista | low | lan | Opera | App3 | 7 |
| 14 | Vista | medium | dsl | IE | App3 | 4 |
| 15 | XP | low | wi-fi | IE | App1 | 2 |
| 16 | Vista | medium | lan | Safari | App3 | 0 |
In this example there are
| 2 3 | + 2 4 | + 2 4 | + 2 3 |
| + 3 4 | + 3 4 | + 3 3 |
| | + 4 4 | + 4 3 |
| | | + 4 3 | = 101 |
uncovered pairs of values before any test cases are run.
The row labeled 1 gives the values of the test factors for the first test case.
It also shows that after the first test case is run, 91 pairs of values remain uncovered.
(10 pairs of values are covered by each of the first four test cases.)
Successive rows give the generated test cases with their corresponding numbers of uncovered factor value pairs
in the Combo Countdown column.
After test case number 16, all the pairs of values are covered.
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).
In this example the other pairwise combinations require no additional test cases.
|