Documentation

This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan 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

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

Was this topic helpful?