Banner Simulink Testing

TPT. The smart way to test Simulink models

We designed TPT to be the best testing tool for Simulink and TargetLink models. Every model that runs in Simulink can be tested with TPT. It does not matter if your model is small or large. TPT masters your tests and simplifies creation, management, maintenance and analysis of tests.

TPT manages your tests – and you save time to drive your business.


Testing Simulink models with TPT. How it works.

Test setup and execution of Simulink or TargetLink models with TPT is easy. You only have to make a few configurations. TPT does the rest. Fully automated in the background including MiL-SiL back-to-back testing.
The testing workflow for testing Simulink and TargetLink models with TPT

Interface analysis.

Before TPT can execute tests, it must know the interface of your Simulink or TargetLink model: Depending on your setup, TPT will automatically analyze all signals and parameters from your model. As a result, TPT knows exactly the model interface. Not just the signals and parameters, but also data types, arrays, buses, scaling, and internal signals. All these data can be changed and observed.

Test case design: Manually.

Test cases can be modeled manually as functional test cases. TPT supports many unique techniques for modeling tests. TPT test case design is very natural and intuitive. It is very easy to create and easy to maintain tests for Simulink and TargetLink.

Test case design: Automagically (TASMO).

If you are interested in test cases that meet certain coverage criteria (Condition Coverage, Decision Coverage), TPT offers a technology, called TASMO, to generate suitable test cases at the push of a button. You just select the desired coverage criteria and TASMO searches for the test cases for you. TASMO generates a minimum number of test cases automatically that lead to a maximum structural coverage of your Simulink model, Stateflow model or TargetLink model. The generated test cases can also be used for back-to-back regression tests.

Test execution: Run it.

You don’t have to care about the details of test execution. It is as simple as pushing a button. TPT automatically generates a test harness model which contains a copy of your Simulink or TargetLink model to be tested and the actual TPT test driver that does all the work for you. TPT starts and controls the entire test execution remotely.

Complex test suites are welcome.

Complex tests or test suites can be executed unattended in batch mode or by using the TPT Jenkins plugin, for example overnight. TPT can also remote control several MATLAB instances in parallel which can tremendously reduce test execution time.

Compile before run.

To speed up test execution Simulink models can also be automatically compiled to C-code before test execution. This option can significantly reduce the test execution time compared to pure Simulink model testing. It also allows the execution of tests on separate machines.

Analysis, analysis, analysis.

After the test execution, TPT starts the test assessment based on the collected data on signals and parameters. Also internal signals, that can been tracked by TPT automatically on request, can be included in those assessments. A report of the results is generated.

MIL-SIL-PIL back-to-back tests.

Test cases can be executed with Simulink or TargetLink models running in MiL, SiL or PiL mode. Comparing the behavior between these modes is simple with TPT. Just configure several execution configurations using different simulation modes (MIL, SIL, PIL) and enable and configure the back-to-back assessment. TPT will run all tests in the desired modes and compares the results automatically.

Advantages of testing Simulink and TargetLink models with TPT

  • Support of bus signals, vectors, model referencing, triggered subsystems, and many other common modeling techniques
  • Analysis of Simulink or TargetLink data dictionary
  • Handling of Simulink, Stateflow, and TargetLink models
  • Support of scaling
  • Back-to-back tests between MiL and SiL simulations
  • Generation of test cases of Simulink and TargetLink models to achieve model coverage
  • MiL, SiL, and PiL testing
  • Full support of Simulink Coder and Embedded Coder
  • Support of MATLAB 7.5 and higher for MiL and SiL
  • Support of TargetLink 1.3 and higher for MiL, SiL, and PiL testing