-
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
Confusing help doc for sf apex run test
#2580
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. |
This issue has been linked to a new work item: W-14559510 |
yeah, that do is straight-up wrong. There is no default for it (otherwise, it would be impossible to run just a single test because it would be running all the suites!) |
@mshanemc Thank you kindly! Insanely quick turn around on this! |
This issue is fixed in 2.20.7 (Dec 6, 2023). |
Summary
Running
sf apex run test --help
I see this comment:Notice that it mentions
default is all suites.
twice in the help doc.When I run
sf apex run test -s -c -r tap -w 20
I get the following error:Why do I need to supply a value if there is a default to run all test suites?
Steps To Reproduce
Run
sf apex run test -s -c -r tap -w 20
in an org with test suites deployedExpected result
I expect all of the test suites to run.
Actual result
I get an error asking for test suite values.
System Information
Bash
The text was updated successfully, but these errors were encountered: