Difference between test assessment and test sequence

Hi, I want to generate a test document programatically but I don´t know how to difference both blocks. I am using next function
blocks = sltest.testsequence.find
to get all test sequence blocks. The answer of the function give me all test sequence and test assessment blocks. After that I don´t know how to differenciated them to put in order. Is there any possibility?
Thanks

Answers (1)

Hi Ander,
I understand that you utilized the “sltest.testsequence.find" function to programmatically find a test document, and you would like to understand the distinction between a “test sequence” block and a “test assessment” block.
In brief, a “test assessment” block in MATLAB involves evaluating the quality and effectiveness of tests, while a “test sequence” block determines the order of test case execution within a test suite. “Test assessment” block focuses on assessing the overall testing process, while a “test sequence” block allows for control over the execution order of tests within MATLAB's testing framework.
To create a “test sequence” and “test assessment” programmatically, I recommend referring to the following links to understand which functions to use:
These resources will provide you with the necessary information on how to programmatically create test sequences and test assessments in MATLAB.
Hope it helps!

Products

Release

R2020b

Asked:

on 3 Mar 2022

Answered:

on 26 Jul 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!