Test case failure for a specific warning

2 次查看(过去 30 天)
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?

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Testing Frameworks 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by