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 startedtest.keys
a file containing the keyboard input as would normally be typed by a usertest.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.