Firebase Test Lab으로 Flutter 앱을 테스트하려면 Flutter 통합 테스트를 작성하고, Android APK 또는 iOS 테스트 ZIP 파일을 빌드하고, 일반 Android 계측 테스트 또는 iOS XCTest로 실행할 수 있습니다.
Flutter 통합 테스트 유형
Flutter는 단위 테스트, 위젯 테스트, 통합 테스트, 이 세 가지 유형의 테스트를 지원합니다. 단위 테스트는 메서드나 클래스의 동작을 확인합니다.
위젯 테스트는 앱 자체를 실행하지 않고 Flutter 위젯의 동작을 확인합니다. 엔드 투 엔드 테스트 또는 GUI 테스트라고도 하는 통합 테스트는 전체 앱을 실행합니다.
Robo 테스트는 기본적으로 Flutter를 지원하지 않습니다. 앱 크롤링을 개선하려면 모바일 앱의 수동 QA 작업을 자동화하고 지속적 통합(CI)과 사전 출시 테스트 전략을 사용할 수 있게 해 주는 테스트인 Robo 스크립트를 사용하세요.
예를 들어 Robo 동작을 더 정확하고 강력한 방식으로 제어하려면 visionText와 함께 클릭을 사용하면 됩니다.
테스트 결과 분석
Flutter 통합 테스트를 Android 계측 테스트 또는 iOS XCTest로 실행할 수 있습니다. 통합 테스트 결과를 분석하려면 플랫폼에 따라 Android 및 iOS 문서를 참조하세요.
제한사항
개별 테스트 사례의 테스트 타이밍 정보를 사용할 수 없습니다. 즉, 테스트 사례 기간 및 개별 테스트 사례의 동영상과 같은 기능이 예상대로 작동하지 않습니다.
[[["이해하기 쉬움","easyToUnderstand","thumb-up"],["문제가 해결됨","solvedMyProblem","thumb-up"],["기타","otherUp","thumb-up"]],[["필요한 정보가 없음","missingTheInformationINeed","thumb-down"],["너무 복잡함/단계 수가 너무 많음","tooComplicatedTooManySteps","thumb-down"],["오래됨","outOfDate","thumb-down"],["번역 문제","translationIssue","thumb-down"],["샘플/코드 문제","samplesCodeIssue","thumb-down"],["기타","otherDown","thumb-down"]],["최종 업데이트: 2025-09-04(UTC)"],[],[],null,["\u003cbr /\u003e\n\nTo test Flutter apps with Firebase Test Lab, you can write Flutter\nintegration tests, build Android APKs or iOS test zip files, and run as\nregular Android instrumentation tests or iOS XCTests.\n\nFlutter integration test types\n\nFlutter supports three types of tests: unit tests, widget tests, and\nintegration tests. A *unit test* verifies the behavior of a method or class.\nA *widget test* verifies the behavior of Flutter widgets without running the\napp itself. An *integration test*, also called end-to-end testing or GUI\ntesting, runs the full app.\n\nTo learn more about integration tests, see [Flutter integration testing](https://docs.flutter.dev/testing/integration-tests).\n\nWrite Flutter integration tests\n\nTo learn how to write integration tests, see the [project setup](https://docs.flutter.dev/testing/integration-tests#project-setup)\nsection of the Flutter integration tests documentation. Optionally, you can\nfollow [running using Flutter command](https://docs.flutter.dev/testing/integration-tests#running-using-the-flutter-command)\nto run and verify the tests locally.\n\nTest on Test Lab\n\nYou can use Test Lab with both Android and iOS targets.\n\nAndroid setup\n\nFollow the instructions in the\n[Android Device Testing](https://github.com/flutter/flutter/tree/main/packages/integration_test#android-device-testing)\nsection of the README.\n\niOS setup\n\nFollow the instructions in the\n[iOS Device Testing](https://github.com/flutter/flutter/tree/main/packages/integration_test#ios-device-testing)\nsection of the README.\n\nRobo test support\n\n[Robo tests](/docs/test-lab/android/robo-ux-test) do not natively support\nFlutter. To improve crawling of your app, use [Robo scripts](/docs/test-lab/android/run-robo-scripts),\nwhich are tests that automate manual QA tasks for mobile apps, and enable\ncontinuous integration (CI) and pre-launch testing strategies.\nFor example, to control Robo behavior in a more precise and robust way, you can\nuse clicks with [visionText](/docs/test-lab/android/robo-scripts-reference#click).\n\nAnalyze test results\n\nYou can run Flutter integration tests as an Android instrumentation test or an\niOS XCTest. To analyze the result of an integration test, see the\ndocumentation for [Android](https://firebase.google.com/docs/test-lab/android/analyzing-results)\nand [iOS](https://firebase.google.com/docs/test-lab/ios/analyzing-results),\ndepending on your platform.\n\nLimitations\n\nTest timing information for individual test cases is not available, which means\nthat features like test case duration and videos for individual test cases\ndon't work as expected.\n\nTroubleshooting\n\nIf you encounter issues, check the [public issue tracker for integration tests](https://github.com/flutter/flutter/issues?q=is%3Aopen+is%3Aissue+label%3A%22f%3A+integration_test%22).\n\nIf you encounter a new issue caused by the integration test framework,\nfile a new issue in the public issue tracker following the guidance in\n[Creating useful bug reports](https://docs.flutter.dev/resources/bug-reports)."]]