Main Content

matlab.unittest.parameters.TestParameter Class

Namespace: matlab.unittest.parameters
Superclasses: matlab.unittest.parameters.Parameter

Test parameter

Description

The matlab.unittest.parameters.TestParameter class defines a parameter used for testing.

The testing framework instantiates this class. You cannot create an object of the matlab.unittest.parameters.TestParameter class directly.

Properties

expand all

Name of the property that defines the test parameter, returned as a character vector.

Attributes:

GetAccess
public
SetAccess
private

Test parameter name, returned as a character vector. The Name property uniquely identifies a particular value for a test parameter.

Attributes:

GetAccess
public
SetAccess
private

Test parameter value, returned as a value of any data type. The Value property holds the data that the test runner passes to the parameterized method that uses the test parameter.

Attributes:

GetAccess
public
SetAccess
private

Version History

Introduced in R2014a