-
Notifications
You must be signed in to change notification settings - Fork 227
Open
Labels
enhancementNew feature or requestNew feature or request
Description
I have checked that this feature is not already implemented
- This feature does not exist
Use case
The current LSP attempts to automatically determine the command to run tests using the Test Explorer, however this doesn't work for all scenarios. For example, Rails applications use bin/rails test out of the box.
The current commands generated by the LSP do not work for all codebases, so allowing developers to customize the test command would make the Test Explorer functionality more useful for all codebases.
Description
I would like to be able to customize the command used for the test explorer to run tests, for example bin/rails test
Implementation
In the Code Lens command creation, prefer to read from the extension configuration instead of the base command: https://github.com/Shopify/ruby-lsp/blob/main/lib/ruby_lsp/listeners/code_lens.rb#L210-L225
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request