Why are unittests running twice?
Ältere Kommentare anzeigen
I'm using the following function on an windows pc and an linux machine for testing my code. Testcases are derived from matlab.unittest.TestCase.
While on Windows it runs all test once, on the linux machine it runs twice. Any idea, what's wrong?
function result = runtests
import matlab.unittest.TestSuite;
suite = TestSuite.fromPackage('tests');
result = run(suite);
end
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu C4ISR finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!