Testcover.com
Start Command Example -
3-state and 2-state Test Model Mapping
3-state Transition Model 2-state Transition Model
Partition
Prefix
Partition
& Block
from to Partition
Prefix
Partition
& Block
from to
3-IIP1B1idleidle 2-IIP1B1idleidle
3-ITP2B1idletest 2-IAP2B1idleactive
3-IPP3B1idleproduction 2-IAP2B2idleactive
3-TIP4B1testidle 2-AIP3B1activeidle
3-PIP5B1productionidle 2-AIP3B2activeidle
3-TTP6B1testtest 2-AAP4B1activeactive
3-TPP7B1testproduction 2-AAP4B2activeactive
3-PTP8B1productiontest 2-AAP4B3activeactive
3-PPP9B1productionproduction 2-AAP4B4activeactive

PmBn = Partition m, Block n.

Each row of this table identifies one block and shows how it is used in both test models of the Start Command Example. These blocks, in the order given above, are contained in the requests (shown in the yellow backgrounds) of the models referenced below.

The 3-state transition model illustrates a plan to test the 9 transitions among the 3 states of the start command. A separate partition is used for each of the 9 transitions.

In the 2-state transition model the active state contains test and production substates, which are considered equivalent for the purpose of this test. The 9 partitions from the 3-state model are grouped into 4 partitions representing transitions between the idle and active states in the 2-state model, for a reduced number of test cases. Each block in the 2-state transition model has the same test values as the corresponding block in the 3-state transition model.

Copyright © 2003-2010 Testcover.com, LLC. All rights reserved.