1 stable release
1.0.0 | Dec 4, 2024 |
---|
#474 in Command line utilities
126 downloads per month
8KB
133 lines
X-Code Coverage
CLI tool for Code Coverage Reporting for Xcode Project with excluded file path feature. 🕊️ 🦀
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