aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2017-03-04test/vis: tweak word motion testsMarc André Tanner24-45/+113
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é Tanner24-11/+187
2017-03-03test/lua: add infrastructure for busted based unit testsMarc André Tanner5-19/+134
2017-03-01test/lua: do not load visrc but only vis.luaMarc André Tanner1-1/+1
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 Fagerheim24-11/+187
2017-02-25test/vis: update tests for new pseudo key namingMarc André Tanner1-1/+1
2017-02-25test/vis: cleanup motion testsMarc André Tanner35-97/+335
2017-02-24test/vis: added a few motion testsErlend Fagerheim14-0/+77
2017-02-23test: fix travis macOS test failuresMarc André Tanner5-2/+9
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: add some general testing tipsMarc André Tanner1-0/+38
2017-02-22test/vim: add test for `t` motionMarc André Tanner2-0/+26
2017-02-22test/vis: add regression test for ec9007f0512930bc16f23e97ea626799187700b6Marc André Tanner3-0/+5
2017-02-20test/fuzz: add fuzzing driver for bufferMarc André Tanner5-2/+142
2017-02-20test/fuzz: add fuzzing infrastructureMarc André Tanner7-0/+260
For now we use the american fuzzy lop in the future we might also add libFuzzer support.
2017-02-20test/core: add msan make targetMarc André Tanner1-1/+4
2017-02-18test/core: rename files to have distinct namesMarc André Tanner6-17/+14
Having different names for the test driver/actual implementation might make the Travis / Codecov errors less confusing.
2017-02-17test/vis: add some more testsMarc André Tanner12-0/+84
2017-02-17test/core: add some more array related testsMarc André Tanner1-0/+30
2017-02-16test/vis: set UTF-8 localeChristian Hesse1-0/+1
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é Tanner7-0/+94
2017-02-16test/vis: patch Lua package.path to include source repositoryMarc André Tanner1-0/+1
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é Tanner3-0/+17
2017-02-15test/vis: source the default visrc.lua fileMarc André Tanner1-3/+4
This loads the default plugins whose functionality can now also be tested.
2017-02-15test/vis: remove C function related tests for nowMarc André Tanner3-47/+0
2017-02-14Skip tests if Lua support is not compiled inMarc André Tanner3-0/+15
2017-02-12test/vim: tweak combining characters testMarc André Tanner2-1/+5
2017-02-11test/vis: use [0-9]+ instead of \d+ in regexMarc André Tanner3-3/+3
2017-02-11test/vim: add a file with lots of combining charactersMarc André Tanner2-0/+3
The actual test just invokes `ga` and `g8` which has only a temporary visual effect which our testing infrastructure is currently not able to check.
2017-02-11test/vis: add some test related to multiple cursors/selectionsMarc André Tanner30-0/+133
2017-02-11test/vis: drop cpp(1) as a preprocessorMarc André Tanner9-25/+33
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-08test/core: adjust mark related testsMarc André Tanner1-20/+28
2017-02-08test/core: add tests for new iterator semanticsMarc André Tanner1-1/+57
2017-02-07test: add a few new tests related to text objectsMarc André Tanner19-0/+145
2017-02-02test/core: remove map_prefix_delete testsMarc André Tanner1-2/+0
2017-02-02test/vim: add a few special filesMarc André Tanner4-0/+104865
Test search in a binary file and add a big one to force mmap(2) usage.
2017-02-02test/sam: add more testsMarc André Tanner25-1/+66
2017-02-01Add regression tests for recently fixed bugsMarc André Tanner13-0/+40
2017-01-20test/lua: adapt basic_map test to new newline behaviorMarc André Tanner1-5/+6
2017-01-18test/vim: give a hint about skipped testsChristian Hesse1-1/+4
Failing vim tests report 'FAIL' with no obvious impact. So give a hint about skipped tests.
2017-01-18test/vim: add some basic tests for count and repetion of `i` and `a`Marc André Tanner4-0/+8
2017-01-18test/vim: use macro count specifier where appropriateMarc André Tanner4-21/+5
2017-01-13test/sam: add test for new grouping semanticsMarc André Tanner2-0/+5
The more idomatic ,x/[a-zA-Z]+/{ g/Emacs/ v/....../ c/vi/ g/vi/ v/.../ c/Emacs/ } does not seem to work on the sam version from 9base as shipped by Ubuntu 12.04 LTS and used in the Travis environment.
2017-01-13test: change existing tests to avoid substitute commandMarc André Tanner3-3/+3
2017-01-13test/vim: tweak test to not rely on only first substitutionMarc André Tanner1-1/+1
Now that :s/foo/bar/ is implemented in terms of :x/foo/c/bar/ all occurences of foo will be replaced not just the first one.
2017-01-13test/vis: tweak structural regex tests to take new selection into accountMarc André Tanner2-2/+4
2017-01-12tests: make :help output actually visibleMarc André Tanner2-2/+2
The problem is that :qall in the win open event would immediately close the window before anyting gets executed.
2017-01-12test/sam: adapt tests to new grouping semanticsMarc André Tanner21-60/+63
2017-01-07test/core: add some more buffer testsMarc André Tanner1-10/+14
2017-01-07test/sam: work around bug of 9base sam as shipped by Ubuntu 12.04Marc André Tanner1-1/+1
For some reason this sam version does match nothing for: /[a-zA-Z]+/ This should finally fix the Travis failure for Linux builds.
2017-01-05test/sam: use smaller file for filter test caseMarc André Tanner1-1/+1
The old test case invoked tr(1) about 485 times which might be the reason for the test failure of the Travis Linux builds.