Mercurial > repos > public > sbplib
annotate runtestsPackage.m @ 1347:ac54767ae1fb feature/poroelastic tip
Add interface, not fully compatible.
author | Martin Almquist <martin.almquist@it.uu.se> |
---|---|
date | Tue, 30 Apr 2024 14:58:35 +0200 |
parents | 276dcccf6155 |
children | 3230e4cbdbb4 |
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 |