Commit Graph

18 Commits

Author SHA1 Message Date
Rane Brown
4f648b6567 Modify how tests are run to improve overall speed.
A Vader issue causes problems with the test results when using the
location list. Because of this the tests were modified to run 1 test
file per vim instance instead of running all tests in a single vim
instance. This resulted in signficant slow down in test execution time.
To speed up execution time only specific tests are run individually now.
2019-12-14 10:41:22 -07:00
tinmarino
ce4074aeb9 Test: Add vader tests for fixing going back links on same file 2019-10-28 19:14:50 +01:00
Rane Brown
85b220bae1 Merge branch 'issue-420' of https://github.com/ratfactor/vimwiki into ratfactor-issue-420 2019-10-20 20:27:25 -06:00
Rane Brown
1f85a3c855
Merge pull request #735 from simias/fix-407
Fix off-by-one error in get_next_line and get_prev_line
2019-10-15 12:15:14 -06:00
Dave Gauer
ad95e3463f Add error handling to VimwikiSearch per issue #420
- Create function wrapper around lvimgrep for input checking, pattern
   quoting, and error handling.
 - Add Vader tests for VimwikiSearch.
 - Change syntax loading from try/catch to explicit file check (to
   prevent Vader test bug).
 - Update doc/vimwiki.txt for changes.
 - Change test script to run Vader tests separately
2019-10-12 18:31:43 -04:00
Rane Brown
a17a9826bd Fix 'VimwikiReturn 3 5' behavior within code blocks.
Previously a new list marker would get added when working within a code
block that was part of a list. This change excludes code blocks from
list marker creation.
2019-08-23 14:42:07 -06:00
Rane Brown
e814c6ad93 Add test cases for VimwikiReturn command 2019-08-22 05:52:54 -06:00
Rane Brown
4f674f68b4 Fix the method for changing the Vimwiki syntax for tests.
This change ensures the syntax is properly changed when running multiple
tests by removing the previously created temporary wiki and then
creating a new one.
2019-08-22 05:52:54 -06:00
Rane Brown
45025fa4f0 Fix docker build command syntax. Closes #736. 2019-08-01 05:19:39 -06:00
Lionel Flandrin
dcd68a6781 Fix off-by-one error in get_next_line and get_prev_line
The functions stopped at the end/start block marker (respectively)
instead of returning the following line. This caused issues when the
function was subsequently called in markdown mode since the start and
end block markers are the same.

This fixes #407
2019-07-31 17:56:08 +01:00
Rane Brown
594ac7dbe1 Update test script and documentation. 2019-07-24 21:57:01 -06:00
Rane Brown
0d0b9a7492 Add script to automate running tests 2019-07-20 22:12:27 -06:00
Rane Brown
0c145c7604 Move helper files so they don't get run with test/* 2019-07-20 22:12:07 -06:00
Rane Brown
e68592b8ef Create a function fo reload the plugin. Fix setting of mediwiki syntax.
Also adds a few additional link creation tests.
2019-07-17 07:13:36 -06:00
Rane Brown
585a9fd16b Fix paths and add some additional settings 2019-07-14 21:50:49 -06:00
Rane Brown
d536fa1117 Basic tests for creating links 2019-07-14 21:50:22 -06:00
Rane Brown
94d62ad7f2 Add vader tests and docker setup 2019-07-14 07:32:38 -06:00
Rane Brown
0441be5e34 Rename folder 2019-07-13 21:50:35 -06:00