Main Content
assertSuccess
Class: matlab.unittest.TestResult
Namespace: matlab.unittest
Description
Input Arguments
Examples
Tips
Use
assertSuccess
as a qualification step to ensure that your tests do not produce any failures. For example, when you perform an automated build on a continuous integration platform (such as Jenkins®), you can instruct the build to fail ifassertSuccess
produces an error.
Version History
Introduced in R2020a