Mercurial > repos > public > sbplib
view runtestsAll.m @ 235:d6344b549081 feature/beams
scheme.Beam: Played around with tuning.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 14 Jul 2016 10:41:32 +0200 |
parents | 344bde2f9d9b |
children | cd571e8ec1fd |
line wrap: on
line source
function res = runtestsAll() l = dir(); dirNames = {l([l.isdir]).name}; packages = {}; for i = 1:length(dirNames) if dirNames{i}(1) == '+' packages{end+1} = dirNames{i}(2:end); end end rootSuite = matlab.unittest.TestSuite.fromFolder(pwd); packageSuites = {}; for i = 1:length(packages) packageSuites{i} = matlab.unittest.TestSuite.fromPackage(packages{i}); end ts = [rootSuite, packageSuites{:}]; res = ts.run(); end