A command line tool to extract code coverage & screenshots from Xcode 11+ XCResult files.
Enter the following command in terminal.
brew install chargepoint/xcparse/xcparse
This will tap into our xcparse homebrew tap and install the tool on your local machine.
xcparse [-hq] [-s xcresultPath destination] [-x xcresultPath destination]
xcparse only accepts a single option at a time.
When the user runs xcparse with no arguments, xcparse runs in interactive mode. In this mode the user is prompted to enter options and arguments as required.
This is the default mode in which xcparse runs if the user specifies an option.
- -s or --screenshots: Extracts screenshots from specified *.xcresult file and saves them in specified destination folder.
- -x or --xcov: Extracts coverage from specified *.xcresult file and saves it in specified destination folder.
- -q or --quit: Exits interactive mode.
- -h or --help: Prints usage information
Arguments must be specified when xcparse is run with the --xcov or --screenshots options.
- brew untap - Untaps from specified homebrew tap
- brew uninstall - Uninstall homebrew tool