pennmush/test/README
captdeaf@gmail.com 5c4f9c4a64 Initial google code commit.
git-svn-id: https://pennmush.googlecode.com/svn/trunk@2 ba372814-4f39-11de-9ad6-1127a62b9fcd
2009-06-02 06:18:54 +00:00

22 lines
481 B
Text

Regression tests for Penn functions and commands.
Usage:
perl runtest.pl testFOO.pl ...
or
./alltests.sh
The test*.pl files are frameworks for tests, not actual perl scripts.
Their format:
login mortal
expect N failures!
run tests:
perl code
All the lines above the 'run tests:' one are optional.
Look at existing files for how to write tests. Some hints: $god is
always available as a test connection. If 'login mortal' was given,
$mortal is too.