Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
I think the upcoming work by bfredl will help with this eventually (?) but it's not complete yet. https://github.com/neovim/neovim/pull/17708 (and a number of other PRs).
Checkout vusted as alternative to plenary.
Here's an example how I did it in nvim-orgmode https://github.com/nvim-orgmode/orgmode/blob/master/tests/plenary/ui/clock_spec.lua
I've written about something like this: https://github.com/KillTheMule/KillTheMule.github.io/blob/master/test_plugins_from_neovim.md
Hi! I think I have exactly what you are looking for. Check the spec directory in the luapad dev branch https://github.com/rafcamlet/nvim-luapad/tree/dev/specs. I am using RPC to send instructions to another nvim instance and then check the results, restarting it between each test for clear env. It may be a bit messy, but I'm currently working on extracting this logic to a separated plugin.
You can look at the neo-tree tests: https://github.com/nvim-neo-tree/neo-tree.nvim/tree/v1.x/tests/neo-tree/sources/filesystem
Related posts
- debugprint.nvim now at v1.5.1 - check it out to create debug/print statements with ease
- Hey everyone I recently joined. Been using vim with basic plugin for past 4 years recently switched to neovim. How should I start ?
- fsplash.nvim: show a custom splash screen in a floating window
- Adamantly against neovim after the removal of cscope
- Reduce Neovim startup time with plugins