{"id":20124039,"url":"https://github.com/testableapple/fastlane-plugin-try_adb_test","last_synced_at":"2025-10-15T08:11:17.202Z","repository":{"id":43336065,"uuid":"356258556","full_name":"testableapple/fastlane-plugin-try_adb_test","owner":"testableapple","description":"Give your Android tests a try 🚀","archived":false,"fork":false,"pushed_at":"2023-09-11T15:20:16.000Z","size":10,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-13T12:54:17.705Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://alteral.github.io/fastlane_plugins","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/testableapple.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":"2021-04-09T12:13:28.000Z","updated_at":"2021-05-16T21:56:25.000Z","dependencies_parsed_at":"2022-09-17T14:10:22.020Z","dependency_job_id":null,"html_url":"https://github.com/testableapple/fastlane-plugin-try_adb_test","commit_stats":null,"previous_names":["alteral/fastlane-plugin-try_adb_test"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/testableapple/fastlane-plugin-try_adb_test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testableapple%2Ffastlane-plugin-try_adb_test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testableapple%2Ffastlane-plugin-try_adb_test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testableapple%2Ffastlane-plugin-try_adb_test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testableapple%2Ffastlane-plugin-try_adb_test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/testableapple","download_url":"https://codeload.github.com/testableapple/fastlane-plugin-try_adb_test/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/testableapple%2Ffastlane-plugin-try_adb_test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279060288,"owners_count":26095128,"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","status":"online","status_checked_at":"2025-10-15T02:00:07.814Z","response_time":56,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2024-11-13T19:47:28.613Z","updated_at":"2025-10-15T08:11:17.155Z","avatar_url":"https://github.com/testableapple.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# try_adb_test plugin\n\n[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-try_adb_test)\n\n## About try_adb_test\n\nThe easiest way to retry your Android Instrumented Tests 🚀\n\nUnder the hood `try_adb_test` uses the stable version of the marvelous [`gojuno composer`](https://github.com/gojuno/composer) and allows you to customize your retry strategy.\n\n| Option | Description | Default |\n| ------- |------------ | ------- |\n| apk | Either relative or absolute path to application apk that needs to be tested | |\n| test_apk | Either relative or absolute path to apk with tests | |\n| test_runner | Fully qualified name of test runner class you're using | Automatically parsed from test_apk's AndroidManifest |\n| try_count | Number of times to try to get your tests green | 1 |\n| shard | Either true or false to enable/disable [test sharding](https://developer.android.com/training/testing/junit-runner.html#sharding-tests) which statically shards tests between available devices/emulators | true |\n| output_directory | Either relative or absolute path to directory for output: reports, files from devices and so on | fastlane/output |\n| instrumentation_arguments | Key-value pairs to pass to Instrumentation Runner | Empty |\n| verbose | Either true or false to enable/disable verbose output for Composer | false |\n| devices | Connected devices/emulators that will be used to run tests against. Example: \"emulator-5554 emulator-5556\" | Empty, tests will run on all connected devices/emulators |\n| device_pattern | Connected devices/emulators that will be used to run tests against. Example: \"emulator.+\" | Empty, tests will run on all connected devices/emulators |\n| fail_if_no_tests | Either true or false to enable/disable error on empty test suite | true |\n| install_timeout | Apk installation timeout in seconds. Applicable to both test Apk and Apk under test | 120 |\n| extra_apks | Apks to be installed for utilities. What you would typically declare in gradle as androidTestUtil. Example: \"path/to/apk/first.apk path/to/apk/second.apk\" | Empty |\n\n## Requirements\n\n* JVM 1.8+\n\n## Getting Started\n\nTo get started with `try_adb_test`, add it to your project by running:\n\n```bash\n$ fastlane add_plugin try_adb_test\n```\n\n## Usage\n\n```ruby\ntry_adb_test(\n  try_count: 2,\n  test_runner: 'com.example.test.ExampleTestRunner',\n  test_apk: \"app/build/outputs/apk/example-debug.apk\",\n  apk: \"app/build/outputs/apk/example-debug-androidTest.apk\",\n  instrumentation_arguments: \"package com.example\",\n  device_pattern: 'emulator.+'\n)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestableapple%2Ffastlane-plugin-try_adb_test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftestableapple%2Ffastlane-plugin-try_adb_test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftestableapple%2Ffastlane-plugin-try_adb_test/lists"}