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!