PennMUSH Community

root/1.8.3/trunk/test/README

Revision 1167, 481 bytes (checked in by shawnw, 9 months ago)

Merge devel into trunk for p6 release

Line 
1 Regression tests for Penn functions and commands.
2
3 Usage:
4         perl runtest.pl testFOO.pl ...
5
6 or     
7         ./alltests.sh
8
9 The test*.pl files are frameworks for tests, not actual perl scripts.
10
11 Their format:
12
13  login mortal
14  expect N failures!
15  run tests:
16  perl code
17
18 All the lines above the 'run tests:' one are optional.
19
20 Look at existing files for how to write tests. Some hints: $god is
21 always available as a test connection. If 'login mortal' was given,
22 $mortal is too.
Note: See TracBrowser for help on using the browser.