-
Notifications
You must be signed in to change notification settings - Fork 26
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
apex:test:run command does not support running tests by providing the class id #155
Labels
bug
Something isn't working
Comments
lcampos
changed the title
test:run command does not support running tests by providing the class id
apex:test:run command does not support running tests by providing the class id
Mar 10, 2021
AnanyaJha
added a commit
that referenced
this issue
Mar 15, 2021
AnanyaJha
added a commit
that referenced
this issue
Mar 17, 2021
rcoringrato-sfdc
pushed a commit
that referenced
this issue
Mar 18, 2021
rcoringrato-sfdc
pushed a commit
that referenced
this issue
Mar 18, 2021
rcoringrato-sfdc
pushed a commit
that referenced
this issue
Mar 18, 2021
rcoringrato-sfdc
pushed a commit
that referenced
this issue
Mar 18, 2021
Addressed by PR #165 |
klewis-sfdc
pushed a commit
that referenced
this issue
Oct 24, 2022
klewis-sfdc
pushed a commit
that referenced
this issue
Oct 24, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
The official docs and the help output for
force:apex:test:run
indicates that a user can provide a test's name or id under the-t
flag. Providing an Apex test class ID throws the errorThis class name's value is invalid: 01p5A00000A1aBfQAJ. Provide the name of an Apex class that has test methods.
Steps To Reproduce:
sfdx force:apex:test:run -t 01p5A00000A1aBfQAJ
Expected result
The command should be able to execute the Apex tests when a user provides the Apex test class ID.
The text was updated successfully, but these errors were encountered: