MATLAB Answers

Test case failure for a specific warning

3 views (last 30 days)
Lauri B
Lauri B on 16 Apr 2019
I'm using matlab.unittest.TestRunner. A test runner can be configured to fail a test if warnings pop up during execution of the test case and it can be also configured to ignore specific warnings.
But is it possible to do it the other way around? That is, to configure a runner to fail only for certain warnings and ignore others?

Answers (0)

Community Treasure Hunt

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

Start Hunting!