MATLAB Programming Fundamentals - MathWorks

(やまだぃちぅ) #1
Create Suite from Single Test Method

The fromMethod method creates a suite from a single test method.

suiteMethod = TestSuite.fromMethod(?SolverTest,'testRealSolution')'
result = run(suiteMethod);

See Also
TestSuite

Related Examples



  • “Write Simple Test Case Using Classes” on page 33-51


33 Unit Testing

Free download pdf