Open search


Graphically modeled test cases

Piketec’s TPT is a test tool used for testing embedded control systems. TPT supports fully automated tests even in real-time contexts. It can use continuous as well as discrete signals.

Tests can be executed via CAN and LIN (Photo: Piketec)

WITH TPT, TEST CASES ARE MODELED GRAPHICALLY with features that simplify and accelerate the development of high-quality tests. Thanks to its built-in platform independence, the tool can be used from Model-test (MiL), through Software-test (SiL), to Hardware-in-the-Loop-Test (HiL). The tool currently offers test support for Matlab/Simulink models, ASCET models, C code testing, Autosar SW-C testing, HiL test systems, as well as customer specific environments.

The test execution is independent of the modeling. Once a test case is modeled, it can be run in different environments. The test cases are reactive and they can thus react to changes in the system’s behavior during the test run. The test execution is based on a virtual machine, which receives and processes the test cases as programs. This virtual machine is the same for all platforms. A platform adapter exists for different platforms.

Tests can also be executed via CAN and LIN. Only a Vector CAN card or a CAN case is required. Tests are executed in "Windows" real time. Signals are mapped to CAN messages and sent to the controller hardware. CAN and LIN tests are executed via the Fusion platform. At Embedded World, Piketec presented release 7.0 of their test tool. This release adds features like easier test modeling, manual tests and simulations, new platforms including CANoe, and monitoring and recording of equivalence classes.

High-quality test modeling

Test cases are modeled graphically in a feature-rich environment. Features such as parallel and hierarchical test flow, conditional branching, as well as support for continuous and discrete signals allow the efficient construction of complex test cases. For the testing of complex systems, TPT offers an approach for systematic test-case-generation, which enables interaction and readability even with a larger number of tests.

The test execution is fully automatic in many test environments. The core of the execution is TPT’s virtual machine (TPT-VM), which allows tests to be executed in real-time, hence making it possible to have cycle times in the order of microseconds. The virtual machine requires only a few kilobytes of memory so that it may also be used in environments with limited resources. The automatic test evaluation can be done online (i.e. during the test execution) or offline (at the end of the test execution). It can formulate quality criteria made up from operations such as comparisons with reference data, signal filters, state sequences and timing conditions.

To integrate the tool into an existing test or development environment, it is sufficient to attach the TPT-VM. The tool handles this integration itself; the development project’s toolset does not need to be extended or changed. The tool produces a test report of the test execution which contains the most important information regarding the execution and results of the test case. The information in the report can be configured such that it remains a readable summary of the execution even for complex tests.

Piketec is a German company that assists system software development through consulting and development of specialized tools in order to improve the efficiency and effectiveness of the development process. This combination of consulting and adaptation of methods and tools allows the company to tailor solutions to the specific demands of each project and manage changes during the development process.

Publish date