Skip to content

A Tool for delivering grouped code coverage report

Notifications You must be signed in to change notification settings

kenalizadeh/xcreport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Tool for delivering grouped code coverage report.

Check releases for the executable binary

Usage: xcreport <COMMAND>

Commands:
  run       Run tests and generate coverage report
  generate  Generate coverage report from test result
  help      Print this message or the help of the given subcommand(s)

Options:
  -h, --help     Print help
  -V, --version  Print version

Run

Runs the tests on specified inputs, then generates the report.

Run tests and generate coverage report

Usage: xcreport run [OPTIONS] \
  --input-file <INPUT_FILE> \
  --project-path <PROJECT_PATH> \
  --workspace <WORKSPACE> \
  --scheme <SCHEME> \
  --destination <DESTINATION>

Options:
  -i, --input-file <INPUT_FILE>      Input csv file to match the test results (Squad and Filepath fields required)
  -p, --project-path <PROJECT_PATH>  Path to your xcode project root
  -w, --workspace <WORKSPACE>        Xcodebuild argument - Your workspace name
  -s, --scheme <SCHEME>              Xcodebuild argument - Your scheme name
  -d, --destination <DESTINATION>    Xcodebuild argument - Simulator destination
  -o, --output-file <OUTPUT_FILE>    Optional | File path to save the generated report
  -h, --help                         Print help

GENERATE

Generates the report on test result .xcresult file.

Generate coverage report from test result

Usage: xcreport generate [OPTIONS] \
  --input-file <INPUT_FILE> \
  --xcresult-file <XCRESULT_FILE>

Options:
  -i, --input-file <INPUT_FILE>        Input csv file to match the test results (Squad and Filepath fields required)
  -x, --xcresult-file <XCRESULT_FILE>  Path to the .xcresult file
  -o, --output-file <OUTPUT_FILE>      Optional | File path to save the generated report
  -h, --help                           Print help

OUTPUT

Report consists of a brief report.csv and full full_report.csv files. The full report can also be used as INPUT_FILE for next iterations.



  • report.csv
report
  • full_report.csv
full_report

About

A Tool for delivering grouped code coverage report

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages