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
Desired feature description
I use :GoTest from within vim and using the plugin https://github.com/fatih/vim-go; like with other tools (e.g. :make command in vim), they feed from the output having a specific format to populate a list of errors and provide navigation to erroring files:linenumber combinations.
In specific, if I run godog from within go test, it'd be ideal if it'd output lines that matched the expected from the go test command and keep my workflow intact.
Example of failing-test output of a plain go test -v run:
This is not an optimal solution as it brings me to the matching method for the step, not to the line in the _test.go where the godog.Suite is configured, which I could then use to navigate around in the code.
The text was updated successfully, but these errors were encountered:
Hey @slashfoo - This is one of the few nonstandard Cucumber outputs that I'd like to officially support, but I can't promise any sort of timeline on when/if it'll be implemented. Our team is small, time-starved, and I assume trying to do what we can to make it through the world's craziness right now.
If you're open to and able to work on this yourself, I'd be happy to review the changes. If not, that's totally fine, too! 😄
@jaysonesmith I'm happy to read that there's at least interest in officially supporting it. I also have limited availability, but if I happen to make any progress before it ships, I'll be sure to tag this bug.
Desired feature description
I use :GoTest from within vim and using the plugin https://github.com/fatih/vim-go; like with other tools (e.g. :make command in vim), they feed from the output having a specific format to populate a list of errors and provide navigation to erroring files:linenumber combinations.
In specific, if I run godog from within go test, it'd be ideal if it'd output lines that matched the expected from the go test command and keep my workflow intact.
Example of failing-test output of a plain
go test -v
run:Desired solution description
Having this in my
_test.go
file:And when running
go test -v
see the output in the desired format, something like:Alternatives considered
godog.RunWithOptions
and instead using a wrapper that'd contain output in the expected format.An example command for generating output approximating the expected:
This is not an optimal solution as it brings me to the matching method for the step, not to the line in the
_test.go
where the godog.Suite is configured, which I could then use to navigate around in the code.The text was updated successfully, but these errors were encountered: