Skip to content

Files

Latest commit

 

History

History
58 lines (33 loc) · 1.49 KB

junit-test-results.md

File metadata and controls

58 lines (33 loc) · 1.49 KB

junit-test-results

Convert Xcode Test Result Bundles (*.xcresult) to JUnit XML format

Usage

xcode-project junit-test-results [-h] [--log-stream STREAM] [--no-color] [--version] [-s] [-v]
    [-p XCRESULT_PATTERNS]
    [-d XCRESULT_DIRS]
    [-o OUTPUT_DIRECTORY]
    [-e OUTPUT_EXTENSION]

Optional arguments for action junit-test-results

-p, --xcresult=XCRESULT_PATTERNS

Path to Xcode Test result (*.xcresult) to be be converted. Can be either a path literal, or a glob pattern to match xcresults in working directory. If no search paths are provided, look for *.xcresults from current directory. Multiple arguments

-d, --dir=XCRESULT_DIRS

Directory where Xcode Test results (*.xcresult) should be converted. If no search paths are provided, look for *.xcresults from current directory. Multiple arguments

-o, --output-dir=OUTPUT_DIRECTORY

Directory where the Junit XML results will be saved. Default: build/ios/test

-e, --output-extension=OUTPUT_EXTENSION

Extension for the created Junit XML file. For example xml or junit. Default: xml

Common options

-h, --help

show this help message and exit

--log-stream=stderr | stdout

Log output stream. Default stderr

--no-color

Do not use ANSI colors to format terminal output

--version

Show tool version and exit

-s, --silent

Disable log output for commands

-v, --verbose

Enable verbose logging for commands