This project is a fastlane plugin. To get started with fastlane-plugin-pretty_junit
, add it to your project by running:
fastlane add_plugin pretty_junit
Pretty JUnit test results for your Android projects.
Note to author: Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
output_pattern = 'app/build/{test-results,outputs}/**/{normalDebug,NORMAL}/*.xml'
delete_files(file_pattern: output_pattern)
# We ignore exit code otherwise we wouldn't get to the actions below on test failure
gradle(task: "testNormalDebugUnitTest", flags: "|| true")
pretty_junit(file_pattern: output_pattern)
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
.
Note to author: Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
To run both the tests, and code style validation, run
rake
To automatically fix many of the styling issues, use
rubocop -a
For any other issues and feedback about this plugin, please submit it to this repository.
If you have trouble using plugins, check out the Plugins Troubleshooting doc in the main fastlane
repo.
For more information about how the fastlane
plugin system works, check out the Plugins documentation.
fastlane
is the easiest way to automate building and releasing your iOS and Android apps. To learn more, check out fastlane.tools.