![]() |
![]() |
![]() |
![]() |
![]() |
Test Case Selection
A test suite contains many hundreds, perhaps thousands, of test cases. In most cases of testing it will only be necessary to choose and run a selection of tests taken from the test suite. This choosing process is called test case selection. Depending on values and answers obtained from the PICS and PIXIT only a subset of the entire test suite need be executed.
Selection Expressions
TTCN allows each test case to be associate with a selection expression. These expressions are predicates that will evaluate to TRUE or FALSE depending on the answers given to the relevant PICS and PIXIT questions. If no selection predicate is given then the test will always be selected.
The predicates are defined in the Test Case Selection Expression Definitions table, and references are made to them from the Test Case Index.
Groups of test cases may be selected in a similar manner by making references to selection expressions from the Test Suite Structure table.
http://www.ibm.com/rational |
![]() |
![]() |
![]() |
![]() |