foneandrew / ruby-spec-runner

Run specific rspec & minitest tests from within vscode
MIT License
9 stars 3 forks source link

show codelens for "specify" and "scenario" #1

Closed steveclarke closed 1 year ago

steveclarke commented 1 year ago

I just discovered this extension today and LOVE it!

One thing I noticed is that the Run button doesn't show over tests marked as Capybara "scenario" (alias for "example"). When I change it to example it shows up.

I went ahead and added "scenario" and "specify" (another "it" alias) to the regex in SpecParser.

I've never managed a VSCode extension before, but I ran the yarn package on my local forked copy and copied the "dist" folder to my existing install. It worked there.

image

Hope this is useful and something you can add to the extension. I did a couple of posts on Reddit today about the extension. I thin more people need to know about this one! It was the extension that finally made me not yearn to switch back to RubyMine for the testing UI.