Conversation
3b78a39 to
e4db0da
Compare
| @@ -0,0 +1,3 @@ | |||
| #! /usr/bin/env sh | |||
| set +xe | |||
| vim -c ":so test.vim" | |||
There was a problem hiding this comment.
Need to initialize with clean vimrc
| @@ -0,0 +1,3 @@ | |||
| # empty | |||
There was a problem hiding this comment.
First line = search term; second line = syngroup; rest = body tested on
|
This is amazing! I can take a look on the weekend. I still use regular Vim so I can test there and help with conversions. One thing after a quick read, other test frameworks often |
|
Have you come across any other test suites? I’d be curious to see examples of what other projects have done. I agree creating new buffers would be simpler. I’d also be interested in getting a more formal test runner (specifically something with exit codes that would could get running in CI). I tried themis a bit but struggled getting anything meaningful tested and couldn’t figure out how to log to stdout |
This PR is working towards porting all of the tests to run directly in vim (I have only tested with nvim). It may be difficult to get some of the typing tests implemented, however paste-then-indent tests work well (and are much faster)
Failures open up a buffer with something like:
Making the indent tests directory based means we can simply import Elixir code and get free testing.