assert() alternative to continue the test when finding an error
5 次查看(过去 30 天)
显示 更早的评论
Is there another function instead of assert() that if found error can still continue and not stop the test when found one error?
0 个评论
采纳的回答
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 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Testing Frameworks 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!