doc: test/README.md (#9020)

- testdir location
- no old style tests are left in the fixed list in the Makefile

[ci skip]
This commit is contained in:
Daniel Hahler 2018-09-20 09:37:53 +02:00 committed by Justin M. Keyes
parent 8b60253ce7
commit 47d74bf32f

View File

@ -191,12 +191,12 @@ minutes](http://learnxinyminutes.com/docs/lua/).
## Checklist for migrating legacy tests ## Checklist for migrating legacy tests
**Note:** Only "old style" (`src/testdir/*.in`) legacy tests should be **Note:** Only "old style" (`src/nvim/testdir/*.in`) legacy tests should be
converted. Please _do not_ convert "new style" Vim tests (`src/testdir/*.vim`). converted. Please _do not_ convert "new style" Vim tests
(`src/nvim/testdir/*.vim`).
The "new style" Vim tests are faster than the old ones, and converting them The "new style" Vim tests are faster than the old ones, and converting them
takes time and effort better spent elsewhere. takes time and effort better spent elsewhere.
- Remove the test from the Makefile (`src/nvim/testdir/Makefile`).
- Remove the associated `test.in`, `test.out`, and `test.ok` files from - Remove the associated `test.in`, `test.out`, and `test.ok` files from
`src/nvim/testdir/`. `src/nvim/testdir/`.
- Make sure the lua test ends in `_spec.lua`. - Make sure the lua test ends in `_spec.lua`.