This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

matlab.unittest.FunctionTestCase class

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

TestCase used for function-based tests


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