Unable to generate complete code coverage report on unlocked package version #688
Labels
area:packaging
owned by another team
The Salesforce CLI team does not own this work but will pass on the information to the correct team.
Summary
While creating a unlocked package version we have an option to run code coverage (-c) and the version:report gives the code coverage percentage but not the complete code coverage report by each class level. Is there a way to get the complete code coverage report by each class and test class.
Steps To Reproduce:
Repository to reproduce: dreamhouse-lwc
NOTE: If your issue is not reproducable by dreamhouse-lwc, i.e. requires specific metadata or files, we require a link to a simple Salesforce project repository with a script to setup a scratch org that reproduces your problem.
Expected result
Trying a way to get the complete code coverage result
Actual result
Only code coverage percentage is given on CLI
Additional information
Feel free to attach a screenshot.
SFDX CLI Version(to find the version of the CLI engine run sfdx --version):sfdx-cli/7.76.1-f301d5641f win32-x64 node-v12.18.3
SFDX plugin Version(to find the version of the CLI plugin run sfdx plugins --core): @oclif/plugin-autocomplete 0.1.5 (core)
@oclif/plugin-commands 1.3.0 (core)
@oclif/plugin-help 3.2.0 (core)
@oclif/plugin-not-found 1.2.4 (core)
@oclif/plugin-plugins 1.9.1 (core)
@oclif/plugin-update 1.3.10 (core)
@oclif/plugin-warn-if-update-available 1.7.0 (core)
@oclif/plugin-which 1.0.3 (core)
@salesforce/sfdx-scanner 2.3.0
@salesforce/sfdx-trust 3.4.3 (core)
alias 1.1.2 (core)
analytics 1.12.1 (core)
config 1.1.9 (core)
generator 1.1.3 (core)
salesforcedx 49.9.2 (49.9.2)
├─ templates 49.9.1
├─ @salesforce/sfdx-plugin-lwc-test 0.1.7
├─ salesforce-alm 49.10.0
├─ custom-metadata 1.0.10
└─ apex 0.0.9
sfdx-cli 7.76.1 (core)
sfdx-codescan-plugin 1.0.4
OS and version: Windows 10
The text was updated successfully, but these errors were encountered: