Skip to content
/ xccodecov Public

xccodecov — output code coverage using the xcresult file generated by Xcode.

License

Notifications You must be signed in to change notification settings

mnkd/xccodecov

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xccodecov

xccodecov — output code coverage using the xcresult file generated by Xcode.

Installing

MINT

$ mint install mnkd/xccodecov

Build

$ make

If you want to use Xcode project, please run the following command.

$ swift package generate-xcodeproj

or

$ make xcodeproj

Usage

USAGE: xccodecov <path> --project-name <project-name> [--config-path <config-path>] [--zero-coverage-files]

ARGUMENTS:
  <path>                  /path/to/*.xcresult

OPTIONS:
  -p, --project-name <project-name>
                          project name
  -c, --config-path <config-path>
                          path to configration file
  -z, --zero-coverage-files
                          show only files which is 0% coverage
  --version               Show the version.
  -h, --help              Show help information.

Examples

$ ./xccodecov /path/to/*.xcresult -p AwesomeProject

You can report by specific folder. Input folders in the categories of the configuration file.

$ ./xccodecov /path/to/*.xcresult -p AwesomeProject -c /path/to/.xccodecov.yml

The configuration file has the following format.

categories:
  - "App"
  - "Data"
  - "Domain"
  - "Domain/Model"
  - "Domain/UseCase"
  - "UI"

About

xccodecov — output code coverage using the xcresult file generated by Xcode.

Resources

License

Stars

Watchers

Forks

Packages

No packages published