#cli #file-path #command-line-tool #code-coverage #xcode #reporting #features

app x-cc

CLI tool for Code Coverage Reporting for Xcode Project with excluded file path feature. 🕊️ 🦀

1 stable release

1.0.0 Dec 4, 2024

#474 in Command line utilities

Download history 126/week @ 2024-12-02

126 downloads per month

MIT license

8KB
133 lines

X-Code Coverage

CLI tool for Code Coverage Reporting for Xcode Project with excluded file path feature. 🕊️ 🦀

x-cc

Requirements

  • Xcode
  • Rust

Installation

To install the CLI tool, run the following command:

cargo install x-cc

Usage

To generate the code coverage report for the Xcode project, run the following command:

x-cc -- -path test.xcresult

(You can find the test.xcresult file in the DerivedData folder of the Xcode project.)

Ignore Folder / File

To ignore the folders or files, you can list them in the .xccignore file (Regex Supported):

# UI
- .*ViewController.swift
- .*Cell.*

Dependencies

~2.8–4.5MB
~87K SLoC