You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I suspect this is done as a workaround for the lack of cwd argument.
Generally speaking, running unit tests in subpackages is quite inefficient when one only wants the data for the current file(s) so the default should be flipped and default instead to "." with the cwd flag correctly set. These lines are unnecessary IMHO:
First, the code coverage integration is really nice. Thanks Ray for doing this, it is really appreciated!
Problem
The cwd argument is not set for jobstart()?
At the moment, code coverage :GoCoverage runs with
"./..."
by default, unless"-p"
is provided. Ref:go.nvim/lua/go/coverage.lua
Line 387 in 6368756
I suspect this is done as a workaround for the lack of cwd argument.
Generally speaking, running unit tests in subpackages is quite inefficient when one only wants the data for the current file(s) so the default should be flipped and default instead to
"."
with thecwd
flag correctly set. These lines are unnecessary IMHO:go.nvim/lua/go/coverage.lua
Lines 377 to 385 in 6368756
Repro
It currently fails to show any coverage.
The text was updated successfully, but these errors were encountered: