assert() alternative to continue the test when finding an error

5 ビュー (過去 30 日間)
Mohamed AKI Ahmed
Mohamed AKI Ahmed 2022 年 2 月 20 日
回答済み: Steven Lord 2022 年 2 月 20 日
Is there another function instead of assert() that if found error can still continue and not stop the test when found one error?

採用された回答

Steven Lord
Steven Lord 2022 年 2 月 20 日
If you're using the unit testing infrastructure, use the verify version of the qualification API function you're using instead of the assert version. So as an example if you were using assertEqual instead use verifyEqual.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeTesting Frameworks についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by