| Copyright | (c) Sebastian Witte |
|---|---|
| License | Apache-2.0 |
| Maintainer | woozletoff@gmail.com |
| Stability | experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell2010 |
Neovim.Test
Description
Documentation
testWithEmbeddedNeovim Source #
Arguments
| :: Maybe FilePath | Optional path to a file that should be opened |
| -> Seconds | Maximum time (in seconds) that a test is allowed to run |
| -> env | Read-only configuration |
| -> Neovim env a | Test case |
| -> IO () |
Run the given Neovim action according to the given parameters.
The embedded neovim instance is started without a config (i.e. it is passed
-u NONE).
If you want to run your tests purely from haskell, you have to setup the desired state of neovim with the help of the functions in Neovim.API.String.