MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1

result = run(suiteFolder);


Setting up PathFixture.
Description: Adds 'C:\Program Files\MATLAB\R2013b\help\techdoc\matlab_oop\examples' to the path.




Running BankAccountTest
.....
Done BankAccountTest




Running DocPolynomTest
...
Done DocPolynomTest




Tearing down PathFixture.
Description: Restores the path to its previous state.




The test framework sets up the test fixture, runs all the tests in each file, and then tears
the fixture down. If the path fixture was set up and torn down using TestClassSetup
methods, the fixture is set up and torn down twice—once for each test file.


See Also


PathFixture | TestCase | matlab.unittest.fixtures


See Also
Free download pdf