retry plugin

fastlane Plugin Badge

Retries failed XCUITest test cases.

This plugin is available in the Ruby Gems directory.

Installation

This project is a fastlane plugin. To get started with fastlane-plugin-retry, add it to your project by running:

fastlane add_plugin retry
bundle install

Usage

multi_scan(
workspace: File.absolute_path('../xxxxxx.xcworkspace'),
scheme: 'xxxxxx',
try_count: options[:tries],
result_bundle: result_bundle_path,
output_directory: result_bundle_path,
destination: options[:devices],
xctestrun: xctestrun_path,
test_without_building: true
)

sh("/usr/local/bin/xchtmlreport -r [location of the .plist generated by multi_scan]")

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository or Slack message to @gloria.

Troubleshooting

If you have trouble using plugins, check out the Plugins Troubleshooting guide.

Using fastlane Plugins

For more information about how the fastlane plugin system works, check out the Plugins documentation.

About fastlane

fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. To learn more, check out fastlane.tools.