이 번역 페이지는 최신 내용을 담고 있지 않습니다. 최신 내용을 영문으로 보려면 여기를 클릭하십시오.
앱 테스트 프레임워크
앱 디자이너로 만든 앱을 위한 자동화된 테스트 작성
MATLAB® 앱 테스트 프레임워크를 사용하여 앱 디자이너로 만든 앱이나 uifigure
함수를 이용해 프로그래밍 방식으로 작성된 앱을 테스트할 수 있습니다. 앱 테스트 프레임워크에서는 UI 구성요소에 대한 제스처(예: 버튼 누르기 또는 슬라이더 끌기)를 프로그래밍 방식으로 수행하고 앱 동작을 확인하는 테스트 클래스를 작성할 수 있습니다.
시작하려면 앱 테스트 프레임워크 개요 항목을 참조하십시오.
함수
press | Perform press gesture on UI component |
choose | Perform choose gesture on UI component |
drag | Perform drag gesture on UI component |
type | Type in UI component |
hover | Perform hover gesture on UI component |
chooseContextMenu | Perform choose gesture on context menu item |
dismissAlertDialog | Close frontmost alert dialog box in figure window |
matlab.uitest.unlock | Unlock figure locked by app testing framework |
matlab.uitest.TestCase.forInteractiveUse | Create a TestCase object for interactive use |
클래스
matlab.uitest.TestCase |
TestCase to write tests with app testing framework |
도움말 항목
- 앱 테스트 프레임워크 개요
앱 테스트 프레임워크를 사용하여 앱 디자이너로 만든 앱 또는
uifigure
함수를 통해 프로그래밍 방식으로 빌드된 앱에 대한 테스트를 작성합니다. - Write Tests for an App
Test an app programmatically by using the app testing framework and the unit testing framework.
- 앱 테스트 프레임워크와 모의 프레임워크를 사용하는 테스트 작성하기
이 예제에서는 앱 테스트 프레임워크와 모의 프레임워크를 사용하는 테스트를 작성하는 방법을 보여줍니다.