diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-12-11 02:12:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-11 02:12:05 +0100 |
commit | 8813b29cec13f7410427fbb8913d3753dd6626a7 (patch) | |
tree | fafa09d2333cfb51ec38e07b5cf11f21163583d3 /test | |
parent | 6f41ce026005dab1129685f31bce9b85e62fd41f (diff) | |
parent | 23fb833ea75107a3349dfb0be2eeccc06111399c (diff) | |
download | rneovim-8813b29cec13f7410427fbb8913d3753dd6626a7.tar.gz rneovim-8813b29cec13f7410427fbb8913d3753dd6626a7.tar.bz2 rneovim-8813b29cec13f7410427fbb8913d3753dd6626a7.zip |
Merge #7555 'vim-patch.sh, doc updates'
Diffstat (limited to 'test')
-rw-r--r-- | test/README.md | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/test/README.md b/test/README.md index 1cb814d85b..58aa6a06aa 100644 --- a/test/README.md +++ b/test/README.md @@ -168,16 +168,13 @@ minutes](http://learnxinyminutes.com/docs/lua/). Do not silently skip the test with `if-else`. If a functional test depends on some external factor (e.g. the existence of `md5sum` on `$PATH`), *and* you can't mock or fake the dependency, then skip the test via `pending()` if the - external factor is missing. This ensures that the *total* test-count (success - + fail + error + pending) is the same in all environments. + external factor is missing. This ensures that the *total* test-count + (success + fail + error + pending) is the same in all environments. - *Note:* `pending()` is ignored if it is missing an argument _unless_ it is - [contained in an `it()` - block](https://github.com/neovim/neovim/blob/d21690a66e7eb5ebef18046c7a79ef898966d786/test/functional/ex_cmds/grep_spec.lua#L11). - Provide empty function argument if the `pending()` call is outside of - `it()` + [contained in an `it()` block](https://github.com/neovim/neovim/blob/d21690a66e7eb5ebef18046c7a79ef898966d786/test/functional/ex_cmds/grep_spec.lua#L11). + Provide empty function argument if the `pending()` call is outside of `it()` ([example](https://github.com/neovim/neovim/commit/5c1dc0fbe7388528875aff9d7b5055ad718014de#diff-bf80b24c724b0004e8418102f68b0679R18)). -- Use `make testlint` for using the shipped luacheck program ([supported by - syntastic](https://github.com/scrooloose/syntastic/blob/d6b96c079be137c83009827b543a83aa113cc011/doc/syntastic-checkers.txt#L3546)) +- Use `make testlint` for using the shipped luacheck program ([supported by syntastic](https://github.com/scrooloose/syntastic/blob/d6b96c079be137c83009827b543a83aa113cc011/doc/syntastic-checkers.txt#L3546)) to lint all tests. ### Where tests go |