-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test results percentage colors are misleading. #2412
Comments
Thank you for filing this issue. We appreciate your feedback and will review the issue as soon as possible. Remember, however, that GitHub isn't a mechanism for receiving support under any agreement or SLA. If you require immediate assistance, contact Salesforce Customer Support. |
Hello @PawelWozniak 👋 None of the versions of Shared: Update to the latest version of Salesforce CLI (docs) and confirm that you're still seeing your issue. After updating, share the full output of |
fixed and added yellow color range when code coverage percentage <= 75 -> red |
@AllanOricil Thank you for such a quick fix. |
@PawelWozniak fixed |
:/ |
🧓 |
👴🏻 |
@AllanOricil Thanks for the PR, but we're not doing enhancements to deprecated commands in This issue references |
Sorry for that 😅 |
Thank you for filing this feature request. We appreciate your feedback and will review the feature at our next grooming or sprint planning session. We prioritize feature requests with more upvotes and comments. |
This issue has been linked to a new work item: W-14135617 |
Summary
Test results colors shown in CLI are misleading as only 100% is green.
Steps To Reproduce
Run tests for classes with different coverage.
Expected result
Colors are assigned gradually.
75% and less is red as it does not meet the required coverage
76%-90% is orange as this coverage is acceptable but could be improved
91%-100% is green as it is hard to get full 100% coverage in most cases.
Actual result
Command: sfdx project deploy start --ignore-conflicts --verbose --test-level RunLocalTests --source-dir . --target-org sandbox88
Currently, everything below 100% is red.
System Information
PowerShell 7.3.6
Additional information
The text was updated successfully, but these errors were encountered: