diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-13 18:59:55 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-13 18:59:55 +0200 |
commit | b96a32ef1a95dd4ebf9413d686bccb1b4645f74b (patch) | |
tree | b9672586db9ccb2505455420ab8bf7d30561c7ea /runtime | |
parent | 7ac616cb0a52bc72b449e19cf9db93bee116c15a (diff) | |
download | vim-git-b96a32ef1a95dd4ebf9413d686bccb1b4645f74b.tar.gz |
patch 8.2.1439: tiny and small builds have no test coveragev8.2.1439
Problem: Tiny and small builds have no test coverage.
Solution: Restore tests that do not depend on the +eval feature.
(Ken Takata, closes #6696)
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/testing.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/doc/testing.txt b/runtime/doc/testing.txt index 1147673d5..15c5498a5 100644 --- a/runtime/doc/testing.txt +++ b/runtime/doc/testing.txt @@ -20,11 +20,17 @@ and for testing plugins. Vim can be tested after building it, usually with "make test". The tests are located in the directory "src/testdir". +There are two types of tests added over time: + test20.in oldest, only for tiny and small builds + test_something.vim new style tests + *new-style-testing* New tests should be added as new style tests. The test scripts are named test_<feature>.vim (replace <feature> with the feature under test). These use functions such as |assert_equal()| to keep the test commands and the expected result in one place. + *old-style-testing* +These tests are used only for testing Vim without the |+eval| feature. Find more information in the file src/testdir/README.txt. |