annotate runtestsPackage.m @ 592:4422c4476650 feature/utux2D

Merge with feature/grids
author Martin Almquist <martin.almquist@it.uu.se>
date Mon, 11 Sep 2017 14:17:15 +0200
parents 276dcccf6155
children 3230e4cbdbb4
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)
276dcccf6155 Added function to run all tests in a package.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2 ts = matlab.unittest.TestSuite.fromPackage(pkgName);
276dcccf6155 Added function to run all tests in a package.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
3 res = ts.run();
276dcccf6155 Added function to run all tests in a package.
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
4 end