Main Content

테스트 프레임워크 확장하기

테스트 환경 사용자 지정, 제약 조건, 진단, 픽스처 및 플러그인 작성

MATLAB® 단위 테스트 프레임워크는 테스트 툴 작성자에게 테스트 환경을 사용자 지정할 수 있는 기능을 제공합니다. 사용자 지정 제약 조건, 진단, 픽스처를 통해 테스트 작성을 확장하고, 테스트 실행기용 사용자 지정 플러그인을 통해 테스트 실행과 결과 보고를 확장할 수 있습니다.

클래스

모두 확장

matlab.unittest.constraints.Constraint제약 조건에 대한 기본 인터페이스
matlab.unittest.constraints.BooleanConstraint부울 연산을 지원하는 제약 조건에 대한 기본 인터페이스
matlab.unittest.constraints.Tolerance허용오차에 대한 기본 인터페이스
matlab.automation.diagnostics.DiagnosticFundamental interface for diagnostics
matlab.unittest.diagnostics.ConstraintDiagnostic제약 조건에 흔히 사용되는 필드들을 사용한 진단
matlab.unittest.fixtures.Fixture테스트 픽스처에 대한 기본 인터페이스
matlab.unittest.plugins.TestRunnerPluginPlugin interface for extending test runner
matlab.unittest.plugins.ParallelizableInterface for plugins that support running tests in parallel (R2019b 이후)
matlab.unittest.plugins.QualifyingPluginInterface for plugins that perform system-wide qualifications
matlab.test.behavior.MissingTest if class satisfies contract for missing values

네임스페이스

matlab.unittest.constraintsMATLAB 제약 조건 인터페이스의 클래스 요약
matlab.unittest.fixturesMATLAB 픽스처(Fixture) 인터페이스의 클래스 요약
matlab.unittest.pluginsMATLAB 플러그인 인터페이스의 클래스 요약

도움말 항목

제약 조건

픽스처(Fixture)

플러그인