| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Xcode-like HTML report for Unit and UI Tests
Install via Homebrew.
# Install latest stable version
$ brew install https://raw.githubusercontent.com/applidium/XCTestHTMLReport/develop_ad/xchtmlreport.rb
# Install latest master branch
$ brew install --HEAD https://raw.githubusercontent.com/applidium/XCTestHTMLReport/develop_ad/xchtmlreport.rbSimply execute the following command to download the latest version of XCTestHTMLReport
$ curl -s https://raw.githubusercontent.com/applidium/XCTestHTMLReport/develop_ad/install.sh | shYou can also specify a branch or tag
$ curl -s https://raw.githubusercontent.com/applidium/XCTestHTMLReport/develop_ad/install.sh '1.0.0' | shRun your UI tests using xcodebuild without forgetting to specify the resultBundlePath
$ xcodebuild test -workspace XCTestHTMLReport.xcworkspace -scheme XCTestHTMLReportSampleApp -destination 'platform=iOS Simulator,name=iPhone 7,OS=11.0' -resultBundlePath TestResultsThen use the previously downloaded xchtmlreport tool to create the HTML report
$ xchtmlreport -r TestResults
Report successfully created at index.htmlYou can also pass multiple times the -r option.
$ xchtmlreport -r TestResults1 -r TestResults2
Report successfully created at index.htmlThis will create only one HTML Report in the path you passed with the -r option
Please create an issue whenever you find an issue or think a feature could be a good addition to XCTestHTMLReport. Always make sure to follow the Contributing Guidelines. Feel free to take a shot at these issues.
XCTestHTMLReport is available under the MIT license.
| Back | FazBrowse Home | New Git URL |