All Projects → XCTestHTMLReport → XCTestHTMLReport

XCTestHTMLReport / XCTestHTMLReport

Licence: MIT License
Xcode-like HTML report for Unit and UI Tests

Programming Languages

swift
15916 projects
HTML
75241 projects

Projects that are alternatives of or similar to XCTestHTMLReport

Xctesthtmlreport
Xcode-like HTML report for Unit and UI Tests
Stars: ✭ 489 (-15.83%)
Mutual labels:  unit-testing, xctest, html-report, ui-testing
Quiz App
A repository reflecting the progress made on the "How to Build iOS Apps with Swift, TDD & Clean Architecture" YouTube series, by Caio & Mike.
Stars: ✭ 230 (-60.41%)
Mutual labels:  unit-testing, xctest, ui-testing
fastlane-plugin-xchtmlreport
fastlane plugin for XCTestHTMLReport
Stars: ✭ 17 (-97.07%)
Mutual labels:  xctest, html-report, xcode-ui-testing
Bookstore Ios
 Sample iOS App - A collection of examples and patterns for Unit Testing, UI Testing, handling Result/Optionals, writing documentation, and more. Details in README.
Stars: ✭ 147 (-74.7%)
Mutual labels:  unit-testing, xctest, ui-testing
Uitestingexample
Example code from my blog post about UI testing
Stars: ✭ 57 (-90.19%)
Mutual labels:  xctest, ui-testing
Mockingbird
A convenient mocking framework for Swift
Stars: ✭ 302 (-48.02%)
Mutual labels:  unit-testing, xctest
Ui Testing Cheat Sheet
How do I test this with UI Testing?
Stars: ✭ 2,039 (+250.95%)
Mutual labels:  xctest, ui-testing
Dagger2
Kotlin Dagger2 example project
Stars: ✭ 145 (-75.04%)
Mutual labels:  unit-testing, ui-testing
Tablier
A micro-framework for Table Driven Tests.
Stars: ✭ 33 (-94.32%)
Mutual labels:  unit-testing, xctest
ios-ui-automation-overview
An overview of popular iOS UI testing solutions.
Stars: ✭ 23 (-96.04%)
Mutual labels:  xctest, ui-testing
wbs markdown
Generate a Work Breakdown Structure (WBS) report from a markdown file. A tool that improves software development estimates.
Stars: ✭ 31 (-94.66%)
Mutual labels:  html-report
masquerade
CUBA Platform UI Testing Library
Stars: ✭ 29 (-95.01%)
Mutual labels:  ui-testing
trx2junit
Transforms XML from trx-Testresults to JUnit-Testresults / trx to JUnit XML and the other way round
Stars: ✭ 42 (-92.77%)
Mutual labels:  unit-testing
dummyjdbc
dummyjdbc answers database requests with dummy data to be independent of an existing database.
Stars: ✭ 20 (-96.56%)
Mutual labels:  unit-testing
Github-Search
https://medium.com/@ericntd/the-real-beginner-guide-to-android-unit-testing-3859d2f25186
Stars: ✭ 18 (-96.9%)
Mutual labels:  unit-testing
gmock-xcode
Xcode integration for GoogleMock through XCTest
Stars: ✭ 18 (-96.9%)
Mutual labels:  xctest
angular-karma test-explorer
vscode extension for easy angular testing and debugging
Stars: ✭ 67 (-88.47%)
Mutual labels:  unit-testing
json-snapshot.github.io
Snapshot Testing for Java
Stars: ✭ 28 (-95.18%)
Mutual labels:  unit-testing
EasyUtAndroid
Android unit testing example 全面的android应用单元测试方法及案例
Stars: ✭ 21 (-96.39%)
Mutual labels:  unit-testing
catbird
Mock server for UI tests
Stars: ✭ 32 (-94.49%)
Mutual labels:  ui-testing

CD

This Repository has been transfered from TitouanVanBelle/XCTestHTMLReport to this new organization. 🥳🎉 Contributions are very very welcome! 🥳🎉

title

What is it?

Xcode-like HTML report for Unit and UI Tests

screenshot

Features

  • Supports parallel testing
  • Supports attachments:
    • .png
    • .jpeg
    • .heic
    • .txt
    • .log
    • .mp4
  • Navigate through the report with the keyboard's arrow keys
  • Filter out successful or failed tests
  • Displays information about the target device
  • Displays activity logs
  • Junit report

Fastlane Support

https://github.com/TitouanVanBelle/fastlane-plugin-xchtmlreport

Installation

Mint

Mint is the easiest way...

Install latest stable version

mint install XCTestHTMLReport/XCTestHTMLReport

Install latest from main branch

mint install XCTestHTMLReport/XCTestHTMLReport@main

Homebrew

Install via Homebrew tap...

Install latest stable version

brew install XCTestHtmlReport/xchtmlreport/xchtmlreport

Install latest from main branch


brew install XCTestHtmlReport/xchtmlreport/xchtmlreport --HEAD

Usage

Run your UI tests using xcodebuild without forgetting to specify the resultBundlePath

$ xcodebuild test -workspace XCTestHTMLReport.xcworkspace -scheme SampleApp -destination 'platform=iOS Simulator,name=iPhone 7,OS=11.0' -resultBundlePath TestResults

Then use the previously downloaded xchtmlreport tool to create the HTML report. Additionally, -i flag is also available to inline all resources, this is convenient for exporting the html file standalone. HTML file will be much heavier but much more portable.

$ xchtmlreport -r TestResults

Report successfully created at ./index.html

Multiple Result Bundle Path

You can also pass multiple times the -r option.

$ xchtmlreport -r TestResults1 -r TestResults2

Report successfully created at ./index.html

This will create only one HTML Report in the path you passed with the -r option

Generate Junit Reports

You can generate junit reports with the -j flag

$ xchtmlreport -r TestResults1 -j

Report successfully created at .index.html

JUnit report successfully created at TestResults1.xcresult/report.junit

Contribution

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.

License

XCTestHTMLReport is available under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].