summaryrefslogtreecommitdiff
path: root/test/vis/README.md
blob: e7e655def68b45ec10ff86882ba670f45a71188d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Tests for vis specific editing features
---------------------------------------

The basic idea is to feed keyboard input to `vis` and compare the
produced output with a known reference solution.

A test constitutes of 3 files:

 * `test.in` the file/buffer content with which the editor is started
 * `test.keys` a file containing the keyboard input as would normally
   be typed by a user
 * `test.ref` a reference file at the end of the editing session

The toplevel shell script `test.sh` looks for these files in sub
directories, feeds the keys to `vis` and compares the produces output.

Type `make` to run all tests.