nvim-test icon indicating copy to clipboard operation
nvim-test copied to clipboard

TestFile does not work for csharp and go

Open 616b2f opened this issue 3 years ago • 3 comments

As we already discussed here https://github.com/klen/nvim-test/pull/12#discussion_r866711417 "TestFile" does not work for csharp and go tests.

Did you have already some ideas how we could refactor to support that feature for those languages?

If not and you don't mind I could create a PR with a suggestion.

What do you think?

616b2f avatar Jun 05 '22 20:06 616b2f

Sorry, I've no time for the moment to spent on this 🤷‍♂️ And I don't use c# so PR is very welcome, sure.

klen avatar Jun 05 '22 21:06 klen

@616b2f any progress on this?

Wiebesiek avatar May 13 '23 22:05 Wiebesiek

When I tried to fix that I found that it also didn't work for many other languages too, at least when I tried it, the reason is that some assumptions in the unittests of this repo are wrong and if you run the commands in real projects they do not work. So I tried to fix the unittests where I could and rewrote stuff in a couple of places, see my fork:

https://github.com/616b2f/nvim-test

I also switched to another nvim plugin for unittests https://github.com/nvim-neotest/neotest in the meantime.

I try to merge the changes from this repo into my fork, because it was never an intention for it to be a real fork but rather I wanted to fix stuff and put them in here, but I changed also to much and not sure if people wan't that changes or not. I will create an PR here if the author is interested to merge them in.

616b2f avatar May 14 '23 16:05 616b2f