You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using sfdx apex:test:run -y -r human -w 160 -c command for running apex tests, My code coverage falls below 70 and the test run step passes. I want it to fail when the test coverage falls below 75%. Can someone help in this?
Steps To Reproduce:
Perform Code commit
Unit tests trigger
Check the unpackaged Apex tests execution step in the unit test step results
Expected result
The step: unpackaged Apex tests execution after unit tests execution should fail when the coverage is less than 75%
Actual result
The coverage is 73% and the step is passing.
The command for this in config.yaml is sfdx apex:test:run -y -r human -w 160 -c
Additional information
Feel free to attach a screenshot.
Salesforce Extension Version in VS Code:
SFDX CLI Version:
OS and version:
VS Code version:
The text was updated successfully, but these errors were encountered:
Summary
I am using sfdx apex:test:run -y -r human -w 160 -c command for running apex tests, My code coverage falls below 70 and the test run step passes. I want it to fail when the test coverage falls below 75%. Can someone help in this?
Steps To Reproduce:
Expected result
The step: unpackaged Apex tests execution after unit tests execution should fail when the coverage is less than 75%
Actual result
The coverage is 73% and the step is passing.
The command for this in config.yaml is sfdx apex:test:run -y -r human -w 160 -c
Additional information
Feel free to attach a screenshot.
Salesforce Extension Version in VS Code:
SFDX CLI Version:
OS and version:
VS Code version:
The text was updated successfully, but these errors were encountered: