Effacer les filtres
Effacer les filtres

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

9 vues (au cours des 30 derniers jours)
Mohamed AKI Ahmed
Mohamed AKI Ahmed le 20 Fév 2022
Is there another function instead of assert() that if found error can still continue and not stop the test when found one error?

Réponse acceptée

Steven Lord
Steven Lord le 20 Fév 2022
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.

Plus de réponses (0)

Catégories

En savoir plus sur Write Unit Tests dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by