Replies: 2 comments 1 reply
-
Seeing the latest breaking change, it seems that it works with Maybe something similar can be done with Fennel files. |
Beta Was this translation helpful? Give feedback.
-
It all chains down to fennel dofile, so if you can make that accept args then hotpot can pass them through somehow, though it looks like it would be a breaking interface change unless the args were stuffed in the Fennel may already pass the arguments, it should at least pass the modname and modfilepath. Probably its simpler to do something like |
Beta Was this translation helpful? Give feedback.
-
Hello!
I am currently doing an small experiment, which is a template for plugins using Hotpot, but I am finding an small problem (You can find the WIP template here:
datwaft/nvim-hotpot-plugin-template
).In my old plugin
datwaft/themis.nvim
I didn't use Hotpot for Unit Testing and so I didn't have access to Neovim's environment but with the experiment I am doing I am trying to get access to that environment using Hotpot.My vision is, in the future, being able to use other, more powerful, testing frameworks but I am starting with
andreyorst/fennel-test
.When using
andreyorst/fennel-test
you usually execute a test like:I tried to do something similar with Hotpot and
:Fnlfile
like this:nvim --headless \ +"Fnlfile deps/fennel-test/runner tests/hello-world.spec.fnl" \ +qa
But its displaying the following error message:
Do you have any idea about how to do this?
PS: and also any idea of how to use other testing frameworks with Hotpot?
Beta Was this translation helpful? Give feedback.
All reactions