comparison runtestsPackage.m @ 1107:3230e4cbdbb4

Add parameter in runtestsAll() and runtestsPackage() so that they include tests in subpackages
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 10 Apr 2019 22:11:11 +0200
parents 276dcccf6155
children
comparison
equal deleted inserted replaced
1106:00203fcc962f 1107:3230e4cbdbb4
1 function res = runtestsPackage(pkgName) 1 function res = runtestsPackage(pkgName)
2 ts = matlab.unittest.TestSuite.fromPackage(pkgName); 2 ts = matlab.unittest.TestSuite.fromPackage(pkgName, 'IncludingSubpackages', true);
3 res = ts.run(); 3 res = ts.run();
4 end 4 end