nvim-neotest / neotest

An extensible framework for interacting with tests within NeoVim.
MIT License
2.2k stars 107 forks source link

[Documentation] RunSpec stream clarification #435

Closed codymikol closed 1 month ago

codymikol commented 1 month ago

Can the functionality of the stream function in RunSpec be clarified in the README?. I've written an implementation for kotlin that builds a table of results indexed by id and returns them in the stream function. My expectation was that in the final call to the results function, these would be concatenated and passed which does not seem to be the case.

rcarriga commented 1 month ago

Hmm the results should be collected as a whole at the end. Are you not seeing that happen? If not, can you share what you're returning in the stream and what you expect at the end?

codymikol commented 1 month ago

This was purely a pebcak error, after some percussive maintenance I was able to get it working 😄 . I'll try to contribute some docs in the near future that would have been helpful for me along the way.