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 = runtestsimport matlab.unittest.TestSuite;suite = TestSuite.fromPackage('tests');result = run(suite);end
Best Answer