aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2016-11-13test/lua: build vis binary if necessaryMarc André Tanner1-1/+5
2016-11-13test/lua: print :help output and distinguish between fail/errorMarc André Tanner1-1/+2
2016-11-11test/lua: adapt to different line ending type returned by Lua APIMarc André Tanner2-2/+2
2016-11-11test/sam: few new testsMarc André Tanner4-0/+19
2016-11-09test/vim: test cancelation of `r` commandMarc André Tanner1-0/+2
2016-11-09test/vim: add test for `r` in normal/visual modeMarc André Tanner2-0/+13
2016-11-08test/vis: add structural regexp tests which round up/down a selectionMarc André Tanner6-0/+76
2016-11-08test/util: fix key parsing in keys utilityMarc André Tanner1-5/+20
We should only attempt to parse special keys if they are delimited by angle brackets i.e. <Key> but not Key.
2016-11-08test/util: delete useless fileMarc André Tanner1-1/+0
2016-11-05test: disable test/vis and test/vim sets on non-Linux CI serversMarc André Tanner2-11/+6
2016-11-05test/sam: improve test outputMarc André Tanner1-2/+2
Redirect the vis UI to /dev/null. Let it write to an output file instead of redirecting stdout, keeps the terminal in a sane state.
2016-11-05test/sam: add new test casesMarc André Tanner10-0/+75
2016-11-05test/sam: add more remarks about sam incompatibilities to READMEMarc André Tanner1-12/+51
2016-11-04test/vim: do not run these tests in continuous integration environmentMarc André Tanner1-0/+5
In contrast to the local enivronment they don't seem to work reliably.
2016-11-03test/sam: add sam testing infrastructureMarc André Tanner6-1/+132
Compare structural regular expression implementation with the one of sam(1).
2016-11-03test/vim: add more join related testsMarc André Tanner10-0/+57
Close #4
2016-05-16test/lua: fix test for invalid cursor positionMarc André Tanner2-8/+12
2016-05-09Improve Cygwin supportMarc André Tanner6-26/+8
2016-05-07test/core: update dependencies for text test caseMarc André Tanner1-1/+1
2016-05-03Add tests for creating mappings and using feedkeysJosh Wainwright3-0/+28
Tests `vis:map()` and `vis:feedkeeys()`
2016-05-03Add another test for cursor positioningJosh Wainwright2-9/+16
Confirming `cursor:to(line,col)` implies `cursor.line == line` and `cursor.col == col`
2016-05-01test/vim: try to force a more standardized vim environment/configuraionMarc André Tanner1-1/+1
2016-05-01test/vim/golf: enable test using . inside a macroMarc André Tanner1-0/+0
2016-04-27test/lua: update tests to match new cursor positioning codeMarc André Tanner1-2/+2
cursor:to(line,col) now implies cursor.line == line and cursor.col == col
2016-04-26test/lua: silenced make cleanMarc André Tanner1-1/+1
2016-04-26test/lua: update basic_file.ref to match number of tests runMarc André Tanner1-3/+0
2016-04-26test/lua: make test.sh executable againMarc André Tanner1-0/+0
2016-04-26Add test number information to command_register tests for easier debuggingJosh Wainwright2-20/+24
2016-04-26Remove .status files, just use .ref and .out pairsJosh Wainwright11-27/+46
2016-04-26Change shebang to sh and add quotes to variables in scriptJosh Wainwright1-10/+10
2016-04-26Add tests for vis:command_register()Josh Wainwright3-0/+82
2016-04-26test.sh: silently compare filesJosh Wainwright1-1/+1
2016-04-21Add test for file that does not existJosh Wainwright2-1/+16
2016-04-21Use dofile() rather than require() to run lua test codeJosh Wainwright1-3/+3
2016-04-21Move vim/prompt test to vis/promptMarc André Tanner3-0/+3
This does not seem to work with vim -u NONE.
2016-04-21Run vim with `-u NONE` to ignore vimrcJosh Wainwright1-0/+1
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 Wainwright1-0/+0
2016-04-21Update tests README and add lua tests README filesJosh Wainwright2-1/+23
2016-04-21Show vis version when running testsJosh Wainwright1-0/+3
2016-04-21Quit vis from within test visrc.luaJosh Wainwright2-8/+4
2016-04-21Use .status files instead of .true files and write error to .err fileJosh Wainwright5-12/+13
2016-04-21Add .gitignoreJosh Wainwright1-0/+3
2016-04-20Allow running individual tests from makefileJosh Wainwright1-0/+5
2016-04-20Split test lua code into individual test.lua filesJosh Wainwright10-145/+133
2016-04-20Remove stackdump reference from makefile and make name uppercaseJosh Wainwright1-1/+1
2016-04-20Add first set of basic lua api testsJosh Wainwright14-0/+370
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é Tanner3-0/+12
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é Tanner1-2/+2
2016-04-19Initial import of test branch from vis repositoryMarc André Tanner131-0/+4148