fredrikaverpil / neotest-golang

Reliable Neotest adapter for running Go tests in Neovim.
MIT License
139 stars 17 forks source link

feat: show compilation failure as test output #176

Closed fredrikaverpil closed 2 months ago

fredrikaverpil commented 2 months ago

fixes #169

Why this change?

What was changed?

Screenshot

image

Try it out

{
  "fredrikaverpil/neotest-golang",
  branch = "output-on-failure",
},
fredrikaverpil commented 2 months ago

I noticed a problem where this change now introduces a regression where all sub-tests are marked as failed eventhough some of are passing (when executing a top-level test).

I would like to try to address this before merging.

fredrikaverpil commented 2 months ago

I noticed a problem where this change now introduces a regression where all sub-tests are marked as failed eventhough some of are passing (when executing a top-level test).

Ok, I believe I fixed this.