Modeling tests in TPT
In TPT, tests are described graphically with hybrid automatons and with test steps. External measurement data can be used inside test step lists or test cases can be generated from it.
You can use conditions as well as functions in the test model.
The test model itself can be built hierarchically or in parallel, or uses both approaches.
You have the freedom to create an unlimited number of variants of the states and transitions. The appropriate state variants, transition variants, and the paths of the automaton that should be taken are selected in the test cases.
Since tests in TPT are reactive, you can define state-based decisions as well as state-based transitions.
TPT assists you with numerous features in generating meaningful test data,
for example TASMO for the test data generation from Simulink models.
To model tests graphically, extended state-transition-diagrams, called TPT-automatons, are used. These TPT-automatons specify graphically which states and phases are part of the test, how long the duration of the parts and phases is,
and under which conditions states may change.
The different combinations of state sequences, variants of states, and transition conditions constitute individual test cases. These individual test cases are not viewed independently but they are presented in a joint model, where similarities as well as differences between the test cases clearly stand out. Moreover, this way the tester gains a detailed overview of the aspects that were tested and those that weren't yet.
Test Step Lists
Test steps are made up of sequences of commands. These sequences are processed successively or in parallel. You can model test steps using hierarchies, conditional statements, parallelisms, reactive behavior, or loops.
Signals are defined by assigning values, time-dependent synthetic functions,
or by imported measurement data. You can embed or link measurement data from various file formats like *.csv, *.dat, *.mat, *.mf4, *.mdf, *.tptbin or *.xls in test step lists.
Copyright © www.piketec.com All rights reserved