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 code generation and compiling in an ASCET-specific test environment, the ASCET experiment, or directly as C-code. Afterwards the tests results are automatically assessed based on all recorded data and are presented in a report. Complex tests or test suites can be executed unattended in batch mode.
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 tests.
Using TPT assesslets, the results of the test run can be evaluated.
Advantages of testing ASCET models with TPT
10 good reasons why you should test your ASCET models with TPT.
- Compatible with all 6.x-ASCET versions
- Development-related testing during the modeling with ASCET
- Testing of preconfigured ASCET projects that contain a single or several modules
- Automatic interface analysis of ASCET models
- Automatic testframe generation
- Testing of unscaled physical models and also of scaled implementation models
- Regression tests with unscaled and scaled simulations
- Meaningful and freely configurable test documentation
- Linking and tracing of requirements and test cases
- Testing according the safety standard ISO 26262
Copyright © www.piketec.com All rights reserved