-
Couldn't load subscription status.
- Fork 223
Add test discovery support for Minitest spec style syntax #3223
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
Conversation
How to use the Graphite Merge QueueAdd the label graphite-merge to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
|
Let's update the PR title indicate that this applies to test discovery (since we already support spec syntax in other places, such as Code Lens). |
|
I tried this on https://github.com/Shopify/lhm and noticed it shows the spec files but not the tests, can you look into why this is? |
aacd858 to
c51c3a2
Compare
c51c3a2 to
e340715
Compare
This came up while pairing with @alexcrocha on #3223 Ref: https://rubydoc.info/gems/minitest/4.1.0/MiniTest/Spec#it-class_method
e340715 to
be15388
Compare
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.
🚀
Motivation
This PR addresses and closes #3178 by adding support for Minitest spec style syntax. Previously, our support was limited to the traditional test style syntax.
By adding support for the spec style, we enhance the discoverability of tests in VS Code's Test Explorer panel, improving the developer experience.
Implementation
describeanditmethodsdef test_)Tests