from
mlunit_2008a
by Christopher
A MATLAB unit test framework supporting new classdef files (r2008a)
|
| DummyTestSuite |
classdef DummyTestSuite < TestSuite
% DUMMYTESTSUITE A simple example showing how to create predefined test
% suites by subclassing TestSuite. Note that you can nest other TestSuites
% inside a suite by simply including the name of the other suites in the
% list returned by suite().
%
% If you just want to run several tests in a directory once or twice, don't
% bother making a special suite class - just launch the GuiTestRunner and
% multi-select the test classes you want to run. The test runner will
% generate a suite dynamically for you.
properties
end
methods
function ste = suite(self)
ste = {'SieveTestCase' 'FibTestCase' 'SinTestCase' ...
'DummyTestCase' 'pkgTests.PackagedTestSuite'};
end
end
end
|
|
Contact us