
Learn testing with TPT by configuring Simulink model, executing test cases in TDD with step list and Automaton methods, and using imports to link tests and signal viewer for reports.
Channel
Wait
Compare
Create an automaton time partition test case using graphical editor, define initial and final states, testlets, and transitions, and learn to template test cases, reference variants, and handle multi-input actions.
Organize in folders
Filter and search
Test Sets
Test Case Status
Philosophy
The test assessment follows the test execution and they are independent.
Both processes are strictly separated and completely independent of each other.
A test case is designed and executed and all specified data is recorded. Then, the recorded data is assessed according to the check rules specified in the assesslets
Assessment types:
using Compare steps in test modeling step lists
GUI assesslets
script-based evaluation
Test Invariance
The evaluation of the test by means of a GUI or Script assesslet can either be done individually or as an invariant test, independently of the individual test case.
Explore the condition tree in the GI assessment type, building nested check rules, bound checks, signal comparisons, and a new signal rule to define complex test conditions.
Discover how the timeout assistant provides a sanity check by flagging test cases that reach the timeout, fail, or stay inconclusive, using weight steps and duration insights.
Assesslets Activation/De-activation
Common Assesslet Settings
Learn how to perform requirement checking in dvt using tbbt's requirement.checked, supplying a requirement id and verdict to validate each case and document true/false outcomes.
Explore execution configuration to set platform, test set, and report format, including HTML embedded resources or HTML with PDF, and manage test cases, test sets, and report and data directories.
Explore automata transitions in model based testing with TPT, refining transition conditions, test inputs, and timing to achieve precise true-true versus true-false behaviors and controlled test durations.
Navigate the signal viewer in model based testing with tpt, opening test cases, dragging signals to axes, and analyzing section activations and checks across cases.
Implement and practice a model based testing workflow with a gear control model that maps speed to gear outputs via a state flow model and parameters v1, v2, v3.
use the modification view to compare the current opened project with a selected project
Save the TPT project in "TPTPRJ" extension
set up VScode
Compare
Testing is very important activity during software development process.
This course is a basic overview of the testing work flow in TPT. The impact of this course will be increased by as much hands on practice you will have. This course also assumes little prior knowledge about Simulink Models. So enjoy the course and we hope to teach you as much as we can. This will give you the basis of knowledge to begin the journey on the road to becoming proficient in testing using TPT. Stay tuned for later more advanced courses that will be available on Udemy. Again thank you for choosing to learn with us and we hope to provide you with the best classes and knowledge that we know how to do.
Here's a glimpse of what you'll gain from our course:
Platform Configuration
will configure Simulink platform in TPT
Test Case Design
Step List
Automatons
how to create a test case using step list or automatons methods.
Test Case Generation
Generate from values
Generate from variants
Test Case Management
Test Set definition
Test cases status
Filter test cases
organize test cases in folders
test case details
Assessments
use compare step to assess test cases
use script assesslet to assess test cases
Requirements
Import requirements from excel sheet
Create the link between the test cases and requirements
Create the link between the assesslets and requirements
use scripting function to check the requirements
Execution
explore the execution configuration
get insights from the build progress window
get insights from the generated report
use the signal viewer
Gear Selector Project
Implement what you have learned