Main Content

Extend Unit Testing Framework

Customize testing environment; author constraints, diagnostics, fixtures, and plugins

The MATLAB® unit testing framework provides test tool authors the ability to customize the testing environment. You can extend test writing through custom constraints, diagnostics, and fixtures, and extend test running and result reporting through custom plugins for the test runner.

Klassen

alle erweitern

matlab.unittest.constraints.ConstraintFundamental interface class for comparisons
matlab.unittest.constraints.BooleanConstraintInterface class for Boolean combinations of constraints
matlab.unittest.constraints.ToleranceAbstract interface class for tolerances
matlab.unittest.diagnostics.DiagnosticFundamental interface class for matlab.unittest diagnostics
matlab.unittest.diagnostics.ConstraintDiagnosticDiagnostic with fields common to most constraints
matlab.unittest.fixtures.FixtureInterface class for test fixtures
matlab.unittest.plugins.TestRunnerPluginPlugin interface for extending TestRunner
matlab.unittest.plugins.ParallelizableInterface for plugins that support running tests in parallel
matlab.unittest.plugins.QualifyingPluginInterface for plugins that perform system-wide qualifications
matlab.unittest.plugins.OutputStreamInterface that determines where to send text output
matlab.test.behavior.MissingTest if class satisfies contract for missing values

Pakete

matlab.unittest.constraints PackageSummary of classes in MATLAB Constraints Interface
matlab.unittest.diagnostics PackageSummary of classes in MATLAB Diagnostics Interface
matlab.unittest.fixtures PackageSummary of classes in MATLAB Fixtures Interface
matlab.unittest.plugins PackageSummary of classes in MATLAB Plugins Interface

Themen

Constraints

Fixtures

Plugins