{"id":20823192,"url":"https://github.com/pink-room/fastlane-plugin-run_tests_firebase_testlab","last_synced_at":"2025-05-07T16:46:20.718Z","repository":{"id":56845900,"uuid":"119528189","full_name":"pink-room/fastlane-plugin-run_tests_firebase_testlab","owner":"pink-room","description":"Runs Android tests in Firebase Test Lab 🚀","archived":false,"fork":false,"pushed_at":"2019-08-17T17:04:06.000Z","size":51,"stargazers_count":48,"open_issues_count":4,"forks_count":10,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-04-14T20:56:07.278Z","etag":null,"topics":["android","fastlane","fastlane-plugin","fastlane-plugins","firebase","firebase-test-lab","instrumentation-tests","testing","tests-firebase-testlab"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pink-room.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-30T11:43:52.000Z","updated_at":"2024-07-24T15:22:18.000Z","dependencies_parsed_at":"2022-09-17T22:21:41.027Z","dependency_job_id":null,"html_url":"https://github.com/pink-room/fastlane-plugin-run_tests_firebase_testlab","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pink-room%2Ffastlane-plugin-run_tests_firebase_testlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pink-room%2Ffastlane-plugin-run_tests_firebase_testlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pink-room%2Ffastlane-plugin-run_tests_firebase_testlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pink-room%2Ffastlane-plugin-run_tests_firebase_testlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pink-room","download_url":"https://codeload.github.com/pink-room/fastlane-plugin-run_tests_firebase_testlab/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252917218,"owners_count":21824905,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","fastlane","fastlane-plugin","fastlane-plugins","firebase","firebase-test-lab","instrumentation-tests","testing","tests-firebase-testlab"],"created_at":"2024-11-17T22:17:35.638Z","updated_at":"2025-05-07T16:46:20.670Z","avatar_url":"https://github.com/pink-room.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# run_tests_firebase_testlab plugin\n\n[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-run_tests_firebase_testlab)\n[![Build\nStatus](https://travis-ci.org/pink-room/fastlane-plugin-run_tests_firebase_testlab.svg?branch=master)](https://travis-ci.org/pink-room/fastlane-plugin-run_tests_firebase_testlab)\n[![Gem\nVersion](https://badge.fury.io/rb/fastlane-plugin-run_tests_firebase_testlab.svg)](https://badge.fury.io/rb/fastlane-plugin-run_tests_firebase_testlab)\n\nPlease, read [this](https://medium.com/pink-room-club/android-continuous-integration-using-fastlane-and-circleci-2-0-part-i-7204e2e7b8b) blog post if you want to know better how to use this plugin.\n\n## Getting Started\n\nThis project is a [_fastlane_](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-run_tests_firebase_testlab`, add it to your project by running:\n```bash\nfastlane add_plugin run_tests_firebase_testlab\n```\n\n## About run_tests_firebase_testlab\n\n* Authenticates with Google Cloud.\n\n* Runs Android tests in Firebase Test Lab.\n\n* Fetches the results to a local directory.\n\n* Deletes the results from firebase bucket if wanted.\n\n## Example\n\nCheck out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin.\n\n### Simple usage\n\n```\nrun_tests_firebase_testlab(\n    project_id: \"your-firebase-project-id\",\n    devices: [\n      {\n        model: \"Nexus6P\",\n        version: \"27\"\n      }\n    ]);\n```\n\n### Parameters\n\n\u003ctable\u003e\n\u003cthead\u003e\n\u003ctr\u003e\n\u003cth\u003eParameter\u003c/th\u003e\n\u003cth\u003eDescription\u003c/th\u003e\n\u003cth\u003eOptional\u003c/th\u003e\n\u003cth\u003eDefault\u003c/th\u003e\n\u003c/tr\u003e\n\u003c/thead\u003e\n\u003ctbody\u003e\n\n\u003ctr\u003e\n\u003ctd\u003e\u003cb\u003eproject_id\u003c/b\u003e\u003c/td\u003e\n\u003ctd\u003eYour Firebase project id\u003c/td\u003e\n\u003ctd\u003eNo\u003c/td\u003e\n\u003ctd\u003e-\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003e\u003cb\u003edevices\u003c/b\u003e\u003c/td\u003e\n\u003ctd\u003eA list of devices to test the App on\u003c/td\u003e\n\u003ctd\u003eNo\u003c/td\u003e\n\u003ctd\u003e-\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003e\u003cb\u003edevice[model]\u003c/b\u003e\u003c/td\u003e\n\u003ctd\u003eA device model on which the tests will run\u003c/td\u003e\n\u003ctd\u003eNo\u003c/td\u003e\n\u003ctd\u003e-\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003e\u003cb\u003edevice[version]\u003c/b\u003e\u003c/td\u003e\n\u003ctd\u003eThe Android api version of the device\u003c/td\u003e\n\u003ctd\u003eNo\u003c/td\u003e\n\u003ctd\u003e-\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003edevice[locale]\u003c/td\u003e\n\u003ctd\u003eThe locale to test against\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003een_US\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003edevice[orientation]\u003c/td\u003e\n\u003ctd\u003eThe orientation of the device\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003eportrait\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003eapp_apk\u003c/td\u003e\n\u003ctd\u003eThe path for your app apk\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003eapp/build/outputs/apk/debug/\u003cbr\u003eapp-debug.apk\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003eandroid_test_apk\u003c/td\u003e\n\u003ctd\u003eThe path for your android test apk\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003eapp/build/outputs/apk/androidTest/\u003cbr\u003edebug/app-debug-androidTest.apk\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003etimeout\u003c/td\u003e\n\u003ctd\u003eThe max time this test execution can run before it is cancelled\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003e30m\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003eoutput_dir\u003c/td\u003e\n\u003ctd\u003eThe directory to save the output results\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003efirebase\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003ebucket_url\u003c/td\u003e\n\u003ctd\u003eThe bucket url where the test results were stored\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003eParsed automatically from tests output\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003edelete_firebase_files\u003c/td\u003e\n\u003ctd\u003eA flag to control if the firebase files should be deleted from the bucket or not\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003efalse\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003eextra_options\u003c/td\u003e\n\u003ctd\u003eExtra options that you need to pass to the gcloud command\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003eempty string\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003egcloud_service_key_file\u003c/td\u003e\n\u003ctd\u003eFile path containing the gcloud auth key\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003eCreated from GCLOUD_SERVICE_KEY environment variable\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003ctr\u003e\n\u003ctd\u003edownload_results_from_firebase\u003c/td\u003e\n\u003ctd\u003eA flag to control if the firebase files should be downloaded from the bucket or not\u003c/td\u003e\n\u003ctd\u003eYes\u003c/td\u003e\n\u003ctd\u003etrue\u003c/td\u003e\n\u003c/tr\u003e\n\n\u003c/tbody\u003e\n\u003c/table\u003e\n\n## Run tests for this plugin\n\nTo run both the tests, and code style validation, run\n\n```\nrake\n```\n\nTo automatically fix many of the styling issues, use\n```\nrubocop -a\n```\n\n## Issues and Feedback\n\nFor any other issues and feedback about this plugin, please submit it to this repository.\n\n## Troubleshooting\n\nIf you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.\n\n## Using _fastlane_ Plugins\n\nFor more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://docs.fastlane.tools/plugins/create-plugin/).\n\n## About _fastlane_\n\n_fastlane_ is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpink-room%2Ffastlane-plugin-run_tests_firebase_testlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpink-room%2Ffastlane-plugin-run_tests_firebase_testlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpink-room%2Ffastlane-plugin-run_tests_firebase_testlab/lists"}