Mercurial > repos > public > sbplib
diff 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 |
line wrap: on
line diff
--- a/runtestsPackage.m Tue Apr 09 20:24:21 2019 +0000 +++ b/runtestsPackage.m Wed Apr 10 22:11:11 2019 +0200 @@ -1,4 +1,4 @@ function res = runtestsPackage(pkgName) - ts = matlab.unittest.TestSuite.fromPackage(pkgName); + ts = matlab.unittest.TestSuite.fromPackage(pkgName, 'IncludingSubpackages', true); res = ts.run(); -end \ No newline at end of file +end