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

Implement funtional tests

Open hrsh7th opened this issue 3 years ago • 3 comments

hrsh7th avatar Jan 25 '22 07:01 hrsh7th

You can maybe use plenary.nvim to do this with the test runner we have there. I can give an example if you need :)

tjdevries avatar Jan 29 '22 14:01 tjdevries

@tjdevries Thank you for your information. I'm using vusted for testing. It's run on the actual neovim process.

If plenary.nvim has async test feature, I'm strongly interested!

hrsh7th avatar Feb 01 '22 03:02 hrsh7th

It does have some stuff set up to do async testing, but it's with the async library for plenary -- I'm not sure if it would work with other ones. vusted looks very similar to plenary's module, so if you're happy with that, then I'd probably stick with it :)

tjdevries avatar Feb 01 '22 04:02 tjdevries