summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-04-21Add test for file that does not existJosh Wainwright
2016-04-21Use dofile() rather than require() to run lua test codeJosh Wainwright
2016-04-21Move vim/prompt test to vis/promptMarc André Tanner
This does not seem to work with vim -u NONE.
2016-04-21Run vim with `-u NONE` to ignore vimrcJosh Wainwright
This might not be the best way to specify this, but the tests were failing for me as vim was using my vimrc and so picking up my own keybindings.
2016-04-21Add executable permission to test.shJosh Wainwright
2016-04-21Update tests README and add lua tests README filesJosh Wainwright
2016-04-21Show vis version when running testsJosh Wainwright
2016-04-21Quit vis from within test visrc.luaJosh Wainwright
2016-04-21Use .status files instead of .true files and write error to .err fileJosh Wainwright
2016-04-21Add .gitignoreJosh Wainwright
2016-04-20Allow running individual tests from makefileJosh Wainwright
2016-04-20Split test lua code into individual test.lua filesJosh Wainwright
2016-04-20Remove stackdump reference from makefile and make name uppercaseJosh Wainwright
2016-04-20Add first set of basic lua api testsJosh Wainwright
There are two types of lua tests here: 1. Tests are formed from a <test>.in, <test>.ref and <test>.out triplet. The <test>.in file is opened by vis, some operatations are performed and the modified file is written to <test>.out. The new <test>.out is compared to <test>.ref and the test passes if they are identical. 2. Tests are formed from a single <test>.true file. This file is created by the lua code in the test. It contains a single line per test case, this single line should be `true` if the test case passed. The <test>.true file is checked to ensure it contains only `true` lines and if so, the test passes.
2016-04-19test/vis: add test for :wq in normal mode with multiple cursorsMarc André Tanner
This tests for a previous bug martanne/vis#276 where only part of the file was saved. Based on a patch from Tobias Mansfield-Williams.
2016-04-19Workaround bug in +- address implementationMarc André Tanner
2016-04-19Initial import of test branch from vis repositoryMarc André Tanner