Main Content

Erweitern von Test-Frameworks

Sie können die Testumgebung anpassen und Randbedingungen, Diagnostik, Vorrichtungen und Plug-Ins erstellen

Mit dem MATLAB®-Unit-Test-Framework können die Verfasser von Test-Tools die Testumgebung anpassen. Sie können das Verfassen von Tests um individuelle Beschränkungen, Diagnosen und Vorrichtungen erweitern und die Ausführung der Tests sowie die Ergebnisberichte über individuelle Plug-ins für Testläufe ausdehnen.

Klassen

alle erweitern

matlab.unittest.constraints.ConstraintFundamental interface for constraints
matlab.unittest.constraints.BooleanConstraintFundamental interface for constraints that support Boolean operations
matlab.unittest.constraints.ToleranceFundamental interface for tolerances
matlab.automation.diagnostics.DiagnosticFundamental interface for diagnostics
matlab.unittest.diagnostics.ConstraintDiagnosticDiagnostic with fields common to constraints
matlab.unittest.fixtures.FixtureFundamental interface for test fixtures
matlab.unittest.plugins.TestRunnerPluginPlugin interface for extending test runner
matlab.unittest.plugins.ParallelizableInterface for plugins that support running tests in parallel (Seit R2019b)
matlab.unittest.plugins.QualifyingPluginInterface for plugins that perform system-wide qualifications
matlab.test.behavior.MissingTest if class satisfies contract for missing values

Namespaces

matlab.unittest.constraintsSummary of classes in MATLAB constraints interface
matlab.unittest.fixturesSummary of classes in MATLAB fixtures interface
matlab.unittest.pluginsSummary of classes in MATLAB plugins interface

Themen

Beschränkungen

Vorrichtungen

Plug-ins