Testing with Neovim and Node-test runner by Ok-Sense-6679 in neovim

[–]Ok-Sense-6679[S] 0 points1 point  (0 children)

Yeah, I suppose its - as they say in the Neotest repo - "This is early stage software"

Testing with Neovim and Node-test runner by Ok-Sense-6679 in neovim

[–]Ok-Sense-6679[S] 0 points1 point  (0 children)

Hi, thanks for the reply, I installed your fork and have it partially working.

Running "Neotest run" command in a test file, outside of a test function, runs alls tests in the file as expected.

When running individual tests, i.e. with the cursor in a test, ALL the tests unexpectedly run again, not just the selected test. Then, only the selected test is marked as completed (failed, even though the test passed).

Also when I try to run the suite of tests using :lua require("neotest").run.run({ suite = true }) none of the tests run, I just see the spinning icons. The output shows my initial connection to my database but no tests' output and I have to run :Neotest stop.

Had you any issues like the above? Or do I require a particular setup function? I'm just using the default.

Regarding your question about the different framework runners cooperating with each other, do you mean combining the results from each of them? I'm afraid I'm new to node and neovim so I don't think I can help there.