view runtestsPackage.m @ 891:fd85412c7a99

Add function to get the hgRevision hash as a string
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 22 Nov 2018 07:25:52 +0100
parents 276dcccf6155
children 3230e4cbdbb4
line wrap: on
line source

function res = runtestsPackage(pkgName)
    ts = matlab.unittest.TestSuite.fromPackage(pkgName);
    res = ts.run();
end