st0012 / ruby-lsp-rspec

A Ruby LSP addon for RSpec tests
MIT License
127 stars 7 forks source link

I only see tests that I've run in the Test Explorer #10

Closed KellyBennett closed 3 weeks ago

KellyBennett commented 1 year ago

First off. Thanks for this gem, it's working great!

I think I'd expect to see all my tests in the Text Explorer view, but instead I only see tests which have been run in the current VSCode session . How do I get all the tests to show up in that view?

st0012 commented 1 year ago

Do you mean seeing all tests in the entire project instead of just the ones in the opened test files?

If that's what you mean, it's out of this addon's control unfortunately. vscode-ruby-lsp current generates Test Explorer entries with data from Code Lens, which is only sent when you open a test file.

KellyBennett commented 3 weeks ago

Sorry for not closing this earlier, but it seems that this issue no longer repros. Thanks for the awesome gem!