-
Notifications
You must be signed in to change notification settings - Fork 25
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
fix: fixed error when running more than one test method from a same test class #321
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great, @CristiCanizales! Thank you for making the fix, and adding the test!
QA looks good:
✅ sfdx force:apex:test:run now correctly runs two tests when specified in same test file, i.e. (this command now works when run against dreamhouse-lwc in a scratch org: sfdx force:apex:test:run -t "TestPropertyController.testGetPagedPropertyList,TestPropertyController.testGetPicturesNoResults"
)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great - thank you @CristiCanizales !!
I am still facing this issue. I have tried using both: sfdx version: |
Hello @vt89 ! What error are you getting, the same one? |
Hi @CristiCanizales |
@vt89 Thank you for reaching out, thanks to that I just noticed the release workflow had failed and the change hadn't been published, but it's now. It should be @salesforce/apex-node v1.6.1 |
Hi @CristiCanizales |
Hello @vt89! The fix should take effect this afternoon, when the CLI is updated. Please let me know if you continue getting the same error after you update yours. |
Hello @CristiCanizales sfdx: |
Hello @vt89 ! Sorry for all the waiting. The apex plugin hadn't been updated before that last release from the cli and that's why it's still failing. It has now been updated and the next release candidate for sfdx will be out this Thursday 4th, so you can wait until then and install the latest RC to test the change, or wait for the official release on May 11th. |
What does this PR do?
sfdx force:apex:test:run ...
What issues does this PR fix or reference?
#319 , @W-12436719@
Functionality Before
Functionality After