apex-code-coverage-transformer
Version:
Transform Salesforce Apex code coverage JSONs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.
32 lines (18 loc) • 1.19 kB
Markdown
Transform Salesforce Apex code coverage JSONs created during deployments and test runs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.
Transform Salesforce Apex code coverage JSONs created during deployments and test runs into other formats accepted by SonarQube, GitHub, GitLab, Azure, Bitbucket, etc.
- `sf acc-transformer transform -j "coverage.json" -r "coverage.xml" -f "sonar"`
- `sf acc-transformer transform -j "coverage.json" -r "coverage.xml" -f "cobertura"`
- `sf acc-transformer transform -j "coverage.json" -r "coverage.xml" -f "clover"`
- `sf acc-transformer transform -j "coverage.json" -r "coverage.info" -f "lcovonly"`
- `sf acc-transformer transform -j "coverage.json" -i "force-app"`
Path to the code coverage JSON file created by the Salesforce CLI deploy or test command.
Path to the code coverage file that will be created by this plugin.
Output format for the coverage report.
Ignore a package directory when looking for matching files in the coverage report.