Close
Banner Videos TPT

Basics of TPT

Automatons in TPT

  • definition of the term “automaton”
  • difference between a path and a branch
  • types of automatons
  • create an automaton
  • set up variants of automaton parts

Set up test cases in TPT

  • create test cases manually
  • create test cases automatically
  • group test cases
  • set up test sets
  • derive test sets from test results

Testlets in TPT

  • definition of term “Testlet”
  • types of Testlets
  • set up Testlets
  • delete content from Testlets
  • using a Testlet signature

Setting up Step Lists in TPT

  • set up signals in the Declaration Editor
  • types of steps
  • import and/or embed signals in a test step list
  • set up an hierarchical automaton using test steps

Time Partition Testlet in TPT

  • definition of the term “Time Partition”

Reference Testlet in TPT

  • reference to already used Testlets inside an automaton

First steps with TPT

  • set up an execution platform
  • import a Simulink model and choose a  subsystem
  • set up a test step list
  • set up variants of a testlet
  • set up test cases
  • use assesslets to evaluate test results
  • execute tests
  • use of the Signal Viewer for the  manual evaluation of the test results
  • generate a test report

Parallel Steps in TPT

  • definition of Parallel Steps
  • set up Parallel Steps
  • check if the signals run in parallel by using  the signal preview
  • change Parallel Steps into consecutively run steps
  • deactivate single steps inside a Parallel Step (effect)

Table Step in TPT

  • elements of the Table step
  • set up a Table Step
  • the Table step in the report

Tutorials

Tutorial: Testing a Simulink model

  • This tutorial was recorded with an older version of TPT, so in the recent TPT some names and the look have changed.

Tutorial: Testing C-Code

  • create test cases and run them
  • set up the Executable Platform as test environment
  • compile an executable from the C/C++ code
  • insert information about channels,  parameters and the like into TPT

Tutorial: Testing with co-simulation

  • node interface and FUSION interface
  • the different stages of a node
  • types of so-called nodes
  • workflow of the FUSION platform
  • insert a custom node
  • set up a custom node
  • configuration of the FUSION in TPT
  • enable Test Step Live View

Code coverage

CTC++ with custom C code in TPT

  • how to analyse code coverage for C or C++ code automatically during tests

CTC++ with ASCET in TPT

  • how to analyse code coverage for code that has been generated from ASCET

Assessment

Evaluate measurement data in TPT

  • Get an impression of the power of the Assessment platform by PikeTec. This platform lets you run evaluations on measurement data without the need to set up test cases.

Automatic test case generation

Test cases from equivalence classes

  • set up Equivalence Classes in TPT
  • automatically generate test cases from Equivalence Classes

Test cases from Simulink and TargetLink models

  • run TASMO to check if all preconditions  are fulfilled
  • specify the input signals
  • choose the coverage goals
  • run the test generation
  • insert the found test data simultaneously as a Test Step List and as test cases into  the current TPT project
  • activate code coverage
  • execute the generated test cases
  • report

Dashboard

Dashboard - an introduction

  • define a click-area in an image
  • group Dashboard elements
  • re-arrange Dashboard groups on the  panel
  • hide Dashboard groups
  • set visibility conditions during run time
  • general purpose of the Dashboard
  • open Dashboard panel
  • choose widgets
  • the Multi-State-Widget
  • assign an image to a widget
  • assign a signal from the Declaration  Editor to a widget
  • specify transitions from one state to  another in a widget
  • record of the actions inside the  Dashboard during runtime
  • insert the recording simultaneously as  Test Step List and as test case into the current TPT project
  • quantization settings