summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-11-19test/vim: add some hints for possible test authorsMarc André Tanner
2016-11-17test/vim: redirect both stdout and stderr to /dev/nullMarc André Tanner
This should make the list of tests more readable.
2016-11-17test: use :qall! to terminate testsMarc André Tanner
This should make sure that vis always terminates and never hangs waiting for further input. Lua errors in particular cause a new window/file to be displayed showing a detailed error message. Previously only this internal file was closed but the original file remained open and prevented vis from exiting.
2016-11-17test/vim: ignore user supplied visrc.luaMarc André Tanner
Custom key bindings might interfere with the tests.
2016-11-17test/vim: remove trailing white spaces after pre-processing keys fileMarc André Tanner
Analogous to the previous commit.
2016-11-17test/vis: remove trailing white spaces after pre-processing keys fileMarc André Tanner
Using cpp(1) to remove comments might not have been the best idea, some versions of clang leave trailing white space intact whereas gcc removes them. These trailing spaces were wrongly interpreted as <Space> input. This hopefully fixes the tests on Mac OS X.
2016-11-16test/vis: convert vis specific tests to use the Lua APIMarc André Tanner
Instead of using the keys utility to convert the textual key representation into something a terminal would send and then pipe it to vis' standard input use the Lua API to directly feed the keys into vis' input queue. This has a number of advantages: - it is less fragile: the keys utility is incomplete and only handles the most common keys - it is faster because there is no need to artificially delay input after an <Escape> key to give vis a chance to distinguish between a single <Escape> and the start of an escape sequence
2016-11-16test: remove travis CI integrationMarc André Tanner
Instead we will only run the desired tests from .travis.yml.
2016-11-16test/lua: redirect stdin and stderr to /dev/nullMarc André Tanner
Redirecting stdin mimics the environment on Travis CI. Redirecting stderr should give a nicer test list output, albeit some useful messages might get lost.
2016-11-15test/lua: make tests more robust, print Lua include pathsMarc André Tanner
2016-11-13test/lua: build vis binary if necessaryMarc André Tanner
2016-11-13test/lua: print :help output and distinguish between fail/errorMarc André Tanner
2016-11-11test/lua: adapt to different line ending type returned by Lua APIMarc André Tanner
2016-11-11test/sam: few new testsMarc André Tanner
2016-11-09test/vim: test cancelation of `r` commandMarc André Tanner
2016-11-09test/vim: add test for `r` in normal/visual modeMarc André Tanner
2016-11-08test/vis: add structural regexp tests which round up/down a selectionMarc André Tanner
2016-11-08test/util: fix key parsing in keys utilityMarc André Tanner
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é Tanner
2016-11-05test: disable test/vis and test/vim sets on non-Linux CI serversMarc André Tanner
2016-11-05test/sam: improve test outputMarc André Tanner
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é Tanner
2016-11-05test/sam: add more remarks about sam incompatibilities to READMEMarc André Tanner
2016-11-04test/vim: do not run these tests in continuous integration environmentMarc André Tanner
In contrast to the local enivronment they don't seem to work reliably.
2016-11-03test/sam: add sam testing infrastructureMarc André Tanner
Compare structural regular expression implementation with the one of sam(1).
2016-11-03test/vim: add more join related testsMarc André Tanner
Close #4
2016-05-16test/lua: fix test for invalid cursor positionMarc André Tanner
2016-05-09Improve Cygwin supportMarc André Tanner
2016-05-07test/core: update dependencies for text test caseMarc André Tanner
2016-05-03Add tests for creating mappings and using feedkeysJosh Wainwright
Tests `vis:map()` and `vis:feedkeeys()`
2016-05-03Add another test for cursor positioningJosh Wainwright
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é Tanner
2016-05-01test/vim/golf: enable test using . inside a macroMarc André Tanner
2016-04-27test/lua: update tests to match new cursor positioning codeMarc André Tanner
cursor:to(line,col) now implies cursor.line == line and cursor.col == col
2016-04-26test/lua: silenced make cleanMarc André Tanner
2016-04-26test/lua: update basic_file.ref to match number of tests runMarc André Tanner
2016-04-26test/lua: make test.sh executable againMarc André Tanner
2016-04-26Add test number information to command_register tests for easier debuggingJosh Wainwright
2016-04-26Remove .status files, just use .ref and .out pairsJosh Wainwright
2016-04-26Change shebang to sh and add quotes to variables in scriptJosh Wainwright
2016-04-26Add tests for vis:command_register()Josh Wainwright
2016-04-26test.sh: silently compare filesJosh Wainwright
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