test/sam: add tests for empty matches at the end of a range
[vis-test.git] / vis / README.md
blobe7e655def68b45ec10ff86882ba670f45a71188d
1 Tests for vis specific editing features
2 ---------------------------------------
4 The basic idea is to feed keyboard input to `vis` and compare the
5 produced output with a known reference solution.
7 A test constitutes of 3 files:
9  * `test.in` the file/buffer content with which the editor is started
10  * `test.keys` a file containing the keyboard input as would normally
11    be typed by a user
12  * `test.ref` a reference file at the end of the editing session
14 The toplevel shell script `test.sh` looks for these files in sub
15 directories, feeds the keys to `vis` and compares the produces output.
17 Type `make` to run all tests.