run unit tests in subfolder containing the test files
9 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I have a bunch of test files in a folder and another file that I indicate the runtest command in (the file is not in the same folder as the test files). I want to let MATLAB go directly to that folder and run the tests from there. I checked the documentations but what was suggested there didn't help. I want to have something like
runtests('Test_Folder', '-verbose')
can anyone assist with that?
0 Kommentare
Antworten (1)
Steven Lord
am 23 Mär. 2022
Try building a test suite using matlab.unittest.TestSuite.fromFolder and then run that suite by calling run on it.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Testing Frameworks finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!