We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Running this command featured in our documentation results in an error: sfdx force:apex:test:run -n "MyTestName" -c --json
sfdx force:apex:test:run -n "MyTestName" -c --json
Select a result format when specifying code coverage
--json is enough information for the code coverage result format.
I need to add the resultformat to get it to work: sfdx force:apex:test:run -n "MyTestName" -c --resultformat=json
sfdx force:apex:test:run -n "MyTestName" -c --resultformat=json
We should either allow the --json flag to work without the --resultformat=json, or remove that example.
Apex library Version: 0.7.0
The text was updated successfully, but these errors were encountered:
randi274
No branches or pull requests
Summary
Running this command featured in our documentation results in an error:
sfdx force:apex:test:run -n "MyTestName" -c --json
Steps To Reproduce:
sfdx force:apex:test:run -n "MyTestName" -c --json
, where MyTestName is the name of a valid test class.Select a result format when specifying code coverage
Expected result
--json is enough information for the code coverage result format.
Actual result
I need to add the resultformat to get it to work:
sfdx force:apex:test:run -n "MyTestName" -c --resultformat=json
Additional information
We should either allow the --json flag to work without the --resultformat=json, or remove that example.
Apex library Version:
0.7.0
The text was updated successfully, but these errors were encountered: