ruby-lsp-rspec
ruby-lsp-rspec copied to clipboard
A Ruby LSP addon for RSpec tests
## What The Ruby [RSwag gem](https://github.com/rswag/rswag), which is widely used in request specs, has its own keywords for examples group, like `path`, `get` (and other HTTP verbs), `response` and `run_test!`....
When there a lot of tests, it can take a long time to discover all of them. Someone may be OK with this for the UI, but if they click...
Unsure if this is an issue with the codeLens parsing/displaying or RSpec itself. It looks like RSpec wants the line number to be the one that has the corresponding `do`....
When trying to run in the terminal I'm getting this error: ```shell ruby-lsp-test-exec bundle exec rspec -r /Users/seb/.local/share/mise/installs/ruby/3.3.7/lib/ruby/gems/3.3.0/gems/ruby-lsp-rspec-0.1 .25/lib/ruby_lsp/ruby_lsp_rspec/rspec_formatter.rb -f RubyLsp::RSpec::RSpecFormatter /Users/seb/Code/..._spec.rb:55 An error occurred while loading /Users/seb/.local/share/mise/installs/ruby/3.3.7/lib/ruby/gems/3.3.0/gems/ruby-lsp-rspec-0.1.25/lib/ruby_lsp/ruby_lsp_rspec/rspec_formatter.rb. Failure/Error: kernel_class.send(:no_warning_require,...