Skip to content

dyang/merge_junit_report

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

merge_junit_report plugin

Gem Build Status Code Climate Test Coverage

Getting Started

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

fastlane add_plugin merge_junit_report

About merge_junit_report

Merge_junit_report is a Fastlane plugin that merges multiple junit reports into one single report. It's primarily designed to be used in conjunction with another Fastlane plugin fastlane-plugin-setup_fragile_tests_for_rescan so that one can rerun flaky tests on CI server and aggregate the results.

This plugin can be used in the following way:

merge_junit_report(
  input_files: ['/run0/report.xml', '/run1/report.xml', '/run2/report.xml']],
  output_file: 'output/report.xml'
)
  • input_files contains an array of junit report paths to merge from
  • output_file is the path to the final merged report. Optional.

Example

Check out the example Fastfile to see how to use this plugin. Try it by cloning the repo, running fastlane install_plugins and bundle exec fastlane test.

Run tests for this plugin

To run both the tests, and code style validation, run

rake

Issues and Feedback

For any other issues and feedback about this plugin, please submit it to this repository.

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.