Why are unittests running twice?
古いコメントを表示
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
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Software Development についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!