© 2021 PikeTec All rights reserved
As a good tester, you make sure that the tests are performed correctly. You also have expectations of the test result when you create the test cases. TPT supports you in formulating these expectations in such a way that an automatic assessment can be performed by TPT after test execution.
The automatic test assessment by TPT can be repeated without errors, which considerably reduces your test effort.
With TPT you can:
You can of course also assess tests manually with TPT. The Signal Viewer and the freely configurable Dashboard are available for this purpose.
Two graphical tools are available in TPT for manual assessment: the Signal Viewer and the Dashboard.
With the Signal Viewer you can graphically analyze test data in detail. Functions such as zoom, view scaling, multi-windowing, management of display configurations as well as the use of multiple cursors and difference displays are possible.
With PikeTec’s Dashboard, you can easily create graphical user interfaces that allow you to interact with the system under test and receive visual feedback in real-time.
With TPT, you can easily compare test results from multiple test executions.
This means that if you make changes to the software under test after the test run, you can run the same tests again and TPT then compares the results of both test runs for you (regression testing).
If you are developing different software components that should behave identically, simply use the same test setting for all components and TPT will automatically compare the test results for you (back-to-back test).
The same applies if you test a software component as a model, then convert it into program code, use it as compiled code on a processor or use it in a hardware environment. Just use the same test setting for the MiL test, the SiL test, the PiL test and the HiL test, and TPT compares the test results of the different test executions for you (back-to-back test). For robustness it is very easy to include time and value tolerances.
TPT uses so-called Assesslets for test assessment. Assesslets are pre-defined graphical forms that allow you to specify your expectations on the behavior of signals in no time.
To make an assessment if, for example, the signal exceeds a certain value, you can express this as a condition. You can also specify that the assessment only takes place if a particular state variant is used or a particular test phase is executed.
Assesslets can be specified independently of the test cases or linked to tests and test phases. If all assesslets test positive, the test case turns green.
The Condition Tree assesslet is used to check a number of rules and conditions inside a time context, based on a
You can use this assesslet for:
For lovers of scripting languages, we have extended Python to allow any test assessment.
This so-called TPT assessment language enables you to
You create the script in the so-called Script Assesslet, which you then link to test cases and requirements.
If desired, the results of the script-based analyses can be displayed in the test report. If you want to reuse script-based analyses in different TPT projects, you can create Assessment Libraries.
The TPT assessment language is based on Python, so that all Python functionalities are available in addition to the TPT-specific functions.
Test cases are used to check whether requirements are fulfilled or not. Accordingly, each test case should be linked to at least one requirement. With TPT you keep track of which test cases are linked to which requirements.
In TPT, you can also link requirements to assesslets. If the test case is then positively assessed, the linked requirement is also marked as passed. If the test case fails according to the assessment rules, the linked requirement is also marked as failed.
The advantage is obvious: you can see at a glance which requirements have not been fulfilled, which have failed and which have not even been tested.
You want to know without much effort whether, for example, the average value of a signal for all test cases of a test execution is between 20 and 30 or whether a certain error occurred? Then the “global assessment” in TPT is just the right thing for you.
With the “global assessment” in TPT, you can quickly and easily perform calculations and assessments across test cases.
Form fields are available for specifying the most frequent calculations, for example the caluclation of the mean value or the sum of all values.
You can perform further calculations across test cases with your own global assessment script. The script also allows you to adjust the display of the assessments in the test report.
The results of the “global assessments” are listed separately in the report.