-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
29 lines (20 loc) · 995 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Documentation for mts: Multi-TeSter
Daniel S. Wilkerson
Multi-TeSter, mts, implements a domain-specific language, MTS, for
generating and running multiple modes of similar tests from a single
source.
1) For each mode MTS runs a command line and then checks that the
expected exit code, stdout, and stderr result, failing if they do
not.
2) An MTS input file can have multiple modes and all of the above
aspects of running the program being tested can depend on the
current mode; this feature allows multiple very similar tests to
be expressed in one file, re-using their commonality.
Run MTS as follows:
mts [FLAGS] FILE.mts
This documentation is embedded in MTS at the end; to get MTS to print
this documentation, type:
mts --help
There is an example of using mts in Example1.
Multi-TeSter is released under a BSD-like license, which you can read
by printing the documentation above, or by reading the source.