pennmush/test
2018-05-05 16:20:36 -07:00
..
alltests.sh.in Fix some issues in test scripts. 2014-03-27 15:21:32 +00:00
fuzz_flags.py Simple python script to fuzz the flags code in PennMUSH. 2013-07-23 19:44:07 +00:00
MUSHConnection.pm Some improvements to the test harness code. 2016-02-13 02:08:45 -08:00
PennMUSH.pm CI: Use cpanm, and don't break on Perl <5.18. 2016-04-04 15:00:14 -07:00
README Add more test cases. 2018-05-02 00:06:42 -07:00
runtest.pl Add '.' back into @INC for the test harness script. 2017-07-30 11:40:34 -07:00
testalias.pl Fix some annoying warnings in testharness code. 2010-04-18 07:44:40 +00:00
testatree.pl Some fixes to the test suite. Fixes issue 490. 2011-08-21 17:07:37 +00:00
testdecompose.pl Test suite fixes. Fixes issue 486. 2011-04-08 16:28:35 +00:00
testdigest.pl Fix some annoying warnings in testharness code. 2010-04-18 07:44:40 +00:00
testdistxd.pl Initial google code commit. 2009-06-02 06:18:54 +00:00
testfirstof.pl Add more test cases. 2018-05-02 00:06:42 -07:00
testflags.pl andflags(), orflags(), etc. don't treat unknown flags as errors. Closes #1180 2018-05-05 16:20:36 -07:00
testgrep.pl Fix some issues in test scripts. 2014-03-27 15:21:32 +00:00
TestHarness.pm Some improvements to the test harness code. 2016-02-13 02:08:45 -08:00
testhastype.pl Fix broken tests. 2015-03-23 20:25:15 -07:00
testinsert.pl Test suite fixes. Fixes issue 486. 2011-04-08 16:28:35 +00:00
testjson.pl Fix minor json() bug, add json() tests. Issue 1040. 2015-10-24 01:25:24 +01:00
testjust.pl Fix test for rjust(). 2016-10-08 20:01:13 +01:00
testletq.pl Initial google code commit. 2009-06-02 06:18:54 +00:00
testlnum.pl Add more test cases. 2018-05-02 00:06:42 -07:00
testmath.pl Add more test cases. 2018-05-02 00:06:42 -07:00
testnull.pl Fix a test error caused by deprecating unescaped commas in some functions. 2012-10-16 01:17:30 +00:00
testpage.pl Fix broken tests. 2015-03-23 20:25:15 -07:00
testrand.pl Fix some edge cases in rand() 2011-03-24 23:46:29 +00:00
testreswitch.pl Initial google code commit. 2009-06-02 06:18:54 +00:00
testsetfuns.pl Add more test cases. 2018-05-02 00:06:42 -07:00
testsidefx.pl Add preserve option for clone(). Closes #797 2018-05-01 18:55:28 -07:00
testsort.pl Add more test cases. 2018-05-02 00:06:42 -07:00
testsoundex.pl Initial google code commit. 2009-06-02 06:18:54 +00:00
teststringsecs.pl Initial google code commit. 2009-06-02 06:18:54 +00:00
teststrreplace.pl Stop strreplace() from appending instead of replacing, better documentation for strinsert() and strreplace()'s behavior on out-of-range start positions, and more tests. 2011-12-16 19:34:42 +00:00
testtr.pl Initial google code commit. 2009-06-02 06:18:54 +00:00
testtrim.pl Initial google code commit. 2009-06-02 06:18:54 +00:00

Regression tests for Penn functions and commands.

Usage:
        perl runtest.pl [--valgrind] testFOO.pl ...

or     
        ./alltests.sh [--valgrind]

The test*.pl files are frameworks for tests, not actual perl
scripts. The choice of extension was unfortunate.

The --valgrind option runs the test game under valgrind to help detect
memory issues.

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.