|
16 | 16 | - [Coverage Report Formats](#coverage-report-formats)
|
17 | 17 | - [Hook](#hook)
|
18 | 18 | - [Debugging](#debugging)
|
19 |
| -- [Example](#example) |
20 | 19 | - [Issues](#issues)
|
21 | 20 | - [License](#license)
|
22 | 21 | </details>
|
@@ -115,12 +114,12 @@ EXAMPLES
|
115 | 114 |
|
116 | 115 | The `-f`/`--format` flag allows you to specify the format of the coverage report.
|
117 | 116 |
|
118 |
| -| Flag Option | Description | |
119 |
| -|-------------|-------------| |
120 |
| -| `sonar` | Generates a SonarQube-compatible coverage report. This is the default option. | |
121 |
| -| `clover` | Produces a Clover XML report format, commonly used with Atlassian tools. | |
122 |
| -| `lcovonly` | Outputs coverage data in LCOV format, useful for integrating with LCOV-based tools. | |
123 |
| -| `cobertura` | Creates a Cobertura XML report, a widely used format for coverage reporting. | |
| 117 | +| Flag Option | Description | Example | |
| 118 | +|-------------|-------------| -------------| |
| 119 | +| `sonar` | Generates a SonarQube-compatible coverage report. This is the default option. | [sonar example](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_baseline_sonar.xml) | |
| 120 | +| `clover` | Produces a Clover XML report format, commonly used with Atlassian tools. | [Clover example](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_baseline_clover.xml) | |
| 121 | +| `lcovonly` | Outputs coverage data in LCOV format, useful for integrating with LCOV-based tools. | [LCovOnly example](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_baseline_lcov.info) | |
| 122 | +| `cobertura` | Creates a Cobertura XML report, a widely used format for coverage reporting. | [Cobertura example](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_baseline_cobertura.xml) | |
124 | 123 |
|
125 | 124 | ## Hook
|
126 | 125 |
|
@@ -184,15 +183,6 @@ Any ENOENT failures indicate that the plugin had issues finding one of the packa
|
184 | 183 | Error (1): ENOENT: no such file or directory: {packageDirPath}
|
185 | 184 | ```
|
186 | 185 |
|
187 |
| -## Example |
188 |
| - |
189 |
| -This [code coverage JSON file](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_no_file_exts.json) created during a Salesforce CLI deployment can be transformed into: |
190 |
| - |
191 |
| -- [SonarQube format](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_baseline_sonar.xml) |
192 |
| -- [Cobertura format](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_baseline_cobertura.xml) |
193 |
| -- [Clover format](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_baseline_clover.xml) |
194 |
| -- [LCovOnly format](https://raw.githubusercontent.com/mcarvin8/apex-code-coverage-transformer/main/test/deploy_coverage_baseline_lcov.info) |
195 |
| - |
196 | 186 | ## Issues
|
197 | 187 |
|
198 | 188 | If you encounter any issues, please create an issue in the repository's [issue tracker](https://github.com/mcarvin8/apex-code-coverage-transformer/issues). Please also create issues to suggest any new features.
|
|
0 commit comments