Main Content

Die Übersetzung dieser Seite ist veraltet. Klicken Sie hier, um die neueste Version auf Englisch zu sehen.

Ausweitung des Unit-Test-Frameworks

Anpassen der Testumgebung, Verfasserbeschränkungen, Diagnosen, Vorrichtungen und Plug-ins

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 most 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

Pakete

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

Themen

Beschränkungen

Vorrichtungen

Plug-ins