Main Content

matlab.unittest.FunctionTestCase class

Package: matlab.unittest
Superclasses: matlab.unittest.TestCase

TestCase used for function-based tests

Description

The FunctionTestCase class is a subclass of TestCase that allows function-based tests to use qualification functions in the matlab.unittest.qualifications package. For each test function, MATLAB® creates an instance of the FunctionTestCase class and passes it to the test function.

The functiontests function constructs FunctionTestCase instances, so there is no need for test authors to construct this class directly.

Introduced in R2013b