Testing and verifying ASCET models with TPT

You can test and verify ASCET models with TPT as physical Model-in-the-Loop (MIL) or as quantized implemented Software-in-the-Loop (SIL). You can also test individual modules or whole module groups in the form of an integration test.

TPT is compatible with all ASCET6.x versions.


TPT can control all aspects of the test execution. Thus, TPT starts the appropriate ASCET version and loads the project and experiment necessary for testing. The test run is fully-automatic including the code generation and the compilation either directly as C-code or in an ASCET-specific test environment, that is in an ASCET experiment. Afterwards, the test results are automatically assessed based on the recorded data and presented in a report. Complex tests or test suites can be executed unattended in batch mode.

Testing ASCET models with TPT

Workflow of testing ASCET models with TPT

A project in ASCET consists of software modules and tasks with processes.


You can test a single module or a complete module group (integration test) from an ASCET project. You only need to select an ASCET project and tasks in the TPT platform configuration. TPT has two platforms to run tests on ASCET modules: the ASCET platform and the ASCET@FUSION platform.


By using the ASCET platform in TPT, tests on modules with their tasks are run directly on ASCET. By using the ASCET@FUSION platform, you can reschedule processes directly in TPT and the tests are executed much faster.


No matter which of the two platforms you use, the analysis of the interfaces of the system to be tested is based on A2L/DCM information from the ASCET project. The default values are imported from DCM files to be used for the default implementation configuration. The assignment of interface values as inputs or outputs of the model and the local measurement values are determined through an analysis of the model.


The test environment is automatically generated as a new ASCET project in TPT, consisting of the original model, the TPT test driver, and the associated tasks. Besides functional requirements-based testing, TPT supports regression/back-to-back testing. Using TPT assesslets, the results of the test run can be evaluated.

Advantages of testing ASCET models with TPT

  • Compatible with all 6.x-ASCET versions
  • Testing of preconfigured ASCET projects that contain a single or several modules
  • Automatic interface analysis of ASCET models
  • Automatic testframe (test harness) generation
  • Testing of unscaled physical models (MiL) and also of scaled implementation models (SiL)
  • Regression tests with unscaled and scaled simulations (MiL-SiL Back to back testing)
  • Linking and tracing of requirements and test cases
  • Testing according the safety standard ISO 26262