x-cc

Crates.iox-cc
lib.rsx-cc
version1.0.0
created_at2024-12-04 04:13:31.002135+00
updated_at2024-12-04 04:13:31.002135+00
descriptionCLI tool for Code Coverage Reporting for Xcode Project with excluded file path feature. 🕊️ 🦀
homepagehttps://github.com/alfinsyahruddin/x-cc
repositoryhttps://github.com/alfinsyahruddin/x-cc
max_upload_size
id1471022
size10,644
Alfin Syahruddin (alfinsyahruddin)

documentation

README

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.*
Commit count: 1

cargo fmt