Categorygithub.com/bitrise-steplib/bitrise-step-generate-xcode-html-report
modulepackage
0.0.0-20240711071830-f4a7c4df358e
Repository: https://github.com/bitrise-steplib/bitrise-step-generate-xcode-html-report.git
Documentation: pkg.go.dev

# README

Generate Xcode test report html

Step changelog

The Step converts xcresult summaries to html reports.

Description

This step will generate html report summaries from your xcresult files. It will also include all of the attachments from your tests.

The step works seamlessly with the official Xcode testing steps. If you use those then you do not need to configure this step in any way because it will automatically discover all of the generated xcresult files.

If you use Fastlane or have script step for your building process then you need to tell this step where to find your xcresult files.

🧩 Get started

Add this step directly to your workflow in the Bitrise Workflow Editor.

You can also run this step directly with Bitrise CLI.

⚙️ Configuration

Inputs
KeyDescriptionFlagsDefault
test_result_dirThis is directory where the official Xcode testing steps save their outputrequired$BITRISE_TEST_DEPLOY_DIR
xcresult_patternsA newline (\n) separated list of all of the xcresult files You do not need to specify the xcresult if your are using the official Xcode test steps. This is only needed if you use Fastlane or script based setup. This input supports glob patterns. This means you can use exact paths or wildcards. Here are a few examples: /path/to/MyApp.xcresult /path/to/output/folder/*.xcresult /path/to/parent/folder/**/*.xcresult The only requirements are that every pattern must only find xcresult files and they have to be absolute paths.
verboseEnable logging additional information for debugging.requiredfalse
Outputs
Environment VariableDescription
BITRISE_HTML_REPORT_DIRThis folder contains the generated html test reports and their assets.

🙋 Contributing

We welcome pull requests and issues against this repository.

For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.

Note: this step's end-to-end tests (defined in e2e/bitrise.yml) are working with secrets which are intentionally not stored in this repo. External contributors won't be able to run those tests. Don't worry, if you open a PR with your contribution, we will help with running tests and make sure that they pass.

Learn more about developing steps:

# Packages

No description provided by the author
No description provided by the author
No description provided by the author