Why are unittests running twice?
Afficher commentaires plus anciens
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
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Software Development dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!