Mercurial > vim
comparison src/testdir/README.txt @ 6168:93aa03401309 v7.4.420
updated for version 7.4.420
Problem: It's not obvious how to add a new test.
Solution: Add a README file. (Christian Brabandt)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 29 Aug 2014 10:04:47 +0200 |
parents | |
children | dbfa0f9ab289 |
comparison
equal
deleted
inserted
replaced
6167:12e683cdd3c3 | 6168:93aa03401309 |
---|---|
1 This directory contains tests for various Vim features. | |
2 | |
3 If it makes sense, try to add a new test to an already existing file. You may | |
4 want to separate it from other tests in that file using :" (that's an Ex | |
5 command comment). | |
6 | |
7 The numbered tests are older, we have switched to named tests. | |
8 | |
9 To add a new test: | |
10 1) Create test_<subject>.in and test_<subject>.ok files. | |
11 2) Add them to all Makefiles (Make*) in alphabetical order (search for an | |
12 existing test_file.out to see where to add the new one). | |
13 3) Use make test_<subject>.out to run a single test file in src/testdir/. | |
14 4) Also add an entry in src/Makefile. | |
15 | |
16 Keep in mind that the files are used as if everything was typed. | |
17 A line break is like pressing Enter. If that happens on the last line you'll | |
18 hear a beep. |