Expected failures in Unittest
Mostra commenti meno recenti
We are starting to automate our unit-testing. One unit-tests demonstrates a failure, but cannot easily be fixed. I would like to leave this test in as a reminder of our shame, but not fail the overall test report. Even better, I would like to be notified when the test is fixed.
I believe this concept is covered in Python with an xfail or expectedFailure decorator. Does MATLAB have anything similar?
I can create a list of the expected-failures and add a few conditionals into my test runner, but I would rather use a built-in.
Risposte (1)
Categorie
Scopri di più su Testing Frameworks in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!