mirror of
https://github.com/airblade/vim-gitgutter.git
synced 2025-11-08 11:33:48 -05:00
503 B
503 B
Testing vim-gitgutter
Run the tests
$ cd test
$ ./test.sh
Add a new test
- Add new test function to
test.vim. - Add a call to the test function in
test.vim. - Run the tests.
- Inspect output from the new test function. If good, copy it to
<blah>.ok. - Run the tests to ensure new test's output is verified.
rm *.outand commit changes.
Potential test pitfalls
Currently the tests are order-dependent because the sign id counter isn't reset between tests.