Main Content

matlab.unittest.qualifications Namespace

Summary of classes in MATLAB qualifications interface

Description

Qualifications are methods for testing values and responding to failures. Qualification failures might or might not correspond to a test failure, and they might or might not continue execution in the test when one is encountered. To determine which qualification to use, see Table of Verifications, Assertions, and Other Qualifications.

Classes

Qualification Classes

matlab.unittest.qualifications.AssertableQualification to validate preconditions of a test
matlab.unittest.qualifications.AssumableQualification to filter test content
matlab.unittest.qualifications.FatalAssertableQualification to abort test execution
matlab.unittest.qualifications.VerifiableQualification to produce soft-failure conditions

Event Data Classes

matlab.unittest.qualifications.ExceptionEventDataEvent data for ExceptionThrown event listeners
matlab.unittest.qualifications.QualificationEventDataEvent data for qualification event listeners

Exception Handling Classes

matlab.unittest.qualifications.AssertionFailedExceptionException used for assertion failures
matlab.unittest.qualifications.AssumptionFailedExceptionException used for assumption failures
matlab.unittest.qualifications.FatalAssertionFailedExceptionException used for fatal assertion failures

Version History

Introduced in R2013a