summaryrefslogtreecommitdiff
path: root/vis
AgeCommit message (Collapse)Author
2017-04-08test: update tests to for new line ending handlingMarc André Tanner
2017-04-06test: terminate tests via command line argument not lua codeMarc André Tanner
Executing a vis:command("qall!") or similar from a Lua WIN_OPEN event handler is a bad idea.
2017-04-06test: fail test with error on bad return codeChristian Hesse
Close #10
2017-03-22test/vis: adapt test to new shift right behaviorMarc André Tanner
2017-03-04test/vis: tweak word motion testsMarc André Tanner
Add more tests for: - starting position on a space/tab - single letter words - special symbols
2017-03-04Merge branch 'prev-start-of-word' of https://github.com/erf/vis-test into wordMarc André Tanner
2017-03-01test/lua: do not load visrc but only vis.luaMarc André Tanner
Since vis.lua now loads a standard set of plugins, we do not need to include the visrc.lua file which might contain user specific changes.
2017-02-26test/vis: added tests for w, W, e, E, ge, gEErlend Fagerheim
2017-02-25test/vis: update tests for new pseudo key namingMarc André Tanner
2017-02-25test/vis: cleanup motion testsMarc André Tanner
2017-02-24test/vis: added a few motion testsErlend Fagerheim
2017-02-23test: fix travis macOS test failuresMarc André Tanner
The vim version installed on the Travis macOS VMs does not seem to correctly handle ; when already on a matching position. Move the affected test to test/vis. Also fix white space related issues in sed invocation.
2017-02-22test/vis: add regression test for ec9007f0512930bc16f23e97ea626799187700b6Marc André Tanner
2017-02-17test/vis: add some more testsMarc André Tanner
2017-02-16test/vis: set UTF-8 localeChristian Hesse
The test vis/insert-mode/digraph fails with a non-UTF-8 locale. So set LANG="en_US.UTF-8" in test script.
2017-02-16test/vis: add some tests for digraphs and verbatim insertionMarc André Tanner
2017-02-16test/vis: patch Lua package.path to include source repositoryMarc André Tanner
This might fix the tests on systems where /proc/self/exe is not available.
2017-02-15test/vis: add a test for the lexer text objectMarc André Tanner
2017-02-15test/vis: source the default visrc.lua fileMarc André Tanner
This loads the default plugins whose functionality can now also be tested.
2017-02-15test/vis: remove C function related tests for nowMarc André Tanner
2017-02-14Skip tests if Lua support is not compiled inMarc André Tanner
2017-02-11test/vis: use [0-9]+ instead of \d+ in regexMarc André Tanner
2017-02-11test/vis: add some test related to multiple cursors/selectionsMarc André Tanner
2017-02-11test/vis: drop cpp(1) as a preprocessorMarc André Tanner
It is not worth the trouble to deal with different escaping rules. The tests should be relatively small and self contained anyway, hence comments should not be that important.
2017-02-07test: add a few new tests related to text objectsMarc André Tanner
2017-02-01Add regression tests for recently fixed bugsMarc André Tanner
2017-01-13test: change existing tests to avoid substitute commandMarc André Tanner
2017-01-13test/vis: tweak structural regex tests to take new selection into accountMarc André Tanner
2017-01-12tests: make :help output actually visibleMarc André Tanner
The problem is that :qall in the win open event would immediately close the window before anyting gets executed.
2016-12-30Revert "Make sure that info messages are printed before test case is run"Marc André Tanner
This reverts commit 8a366cebda597e960f1f49e245785f8fdedff0a6. Travis is strange.
2016-12-28Make sure that info messages are printed before test case is runMarc André Tanner
Useful for hanging tests also redirect stdout to /dev/null for better output on Travis.
2016-12-19test: ignore custom visrc.lua configurationMarc André Tanner
2016-12-17test/vis: add some insert mode mapping regression testsMarc André Tanner
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/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-08test/vis: add structural regexp tests which round up/down a selectionMarc André Tanner
2016-04-21Move vim/prompt test to vis/promptMarc André Tanner
This does not seem to work with vim -u NONE.
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-19Initial import of test branch from vis repositoryMarc André Tanner