annotate runtestsPackage.m @ 1236:3722c2579818 feature/dirac_discr

Attempt to factor out a function for finding indecies of the source
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 20 Nov 2019 00:10:30 +0100
parents 3230e4cbdbb4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
152
276dcccf6155 Added function to run all tests in a package.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
1 function res = runtestsPackage(pkgName)
1107
3230e4cbdbb4 Add parameter in runtestsAll() and runtestsPackage() so that they include tests in subpackages
Jonatan Werpers <jonatan@werpers.com>
parents: 152
diff changeset
2 ts = matlab.unittest.TestSuite.fromPackage(pkgName, 'IncludingSubpackages', true);
152
276dcccf6155 Added function to run all tests in a package.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 res = ts.run();
1107
3230e4cbdbb4 Add parameter in runtestsAll() and runtestsPackage() so that they include tests in subpackages
Jonatan Werpers <jonatan@werpers.com>
parents: 152
diff changeset
4 end