Shopify / ruby-lsp

An opinionated language server for Ruby
https://shopify.github.io/ruby-lsp/
MIT License
1.58k stars 155 forks source link

Add support for test coverage using VS Code's new API #1800

Open vinistock opened 7 months ago

vinistock commented 7 months ago

VS Code is looking to stabilize their new test coverage API in the March release https://github.com/microsoft/vscode/issues/123713. We can use the new API to provide test coverage for Ruby projects.

dewski commented 5 months ago

I worked on an implementation parsing SimpleCov reports over in dewski/vscode-simplecov that parses SimpleCov's optional branch coverage reporting if anyone would like to reference.

andyw8 commented 1 month ago

There is also an experimental Ruby API for coverage: https://rubyapi.org/o/coverage