Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.18 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.18 KB

xcresults

xcresults is a command-line tool designed to extract test summaries and screenshots from XCResult files generated by Xcode 11.

Installation

For M1 CPU (arm64)

  1. Download the executable file:
    wget https://github.com/eroshenkoam/xcresults/releases/latest/download/xcresults
  2. Make the file executable:
    chmod +x xcresults

For Intel CPU (i386)

  1. Download the appropriate executable file:
    wget https://github.com/eroshenkoam/xcresults/releases/latest/download/xcresults-i386 -o xcresults
  2. Make the file executable:
    chmod +x xcresults

Usage

The general command format:

xcresults <command> <options>

For further assistance on any command, use the --help option.

Exporting Results in Allure 2 Format

For a single file:

xcresults export /path/to/Test.xcresult -o /path/to/outputDirectory

For multiple files:

xcresults export /path/to/First.xcresult /path/to/Second.xcresult -o /path/to/outputDirectory

After exporting, you can generate an Allure report with the following command:

allure serve /path/to/outputDirectory