Mailing List Archive

Quick thoughts on testing
I've been chugging away some more at updating (well, rewriting) the
UseMod conversion script, and have started adding some automated testing
to make sure that various operations are working as intended.

(Very prelim code in cvs: importUseModWiki.php, importTests.php in the
maintenance subdir.)

We would probably benefit from a unit test suite that could
automatically test the various pieces of the wiki code more or less in
isolation. (Though we have a lot of globals, funky dependencies, and
mixing together of backend and interface code which makes testing rather
harder... we should clean this stuff up anyway!)

http://c2.com/cgi/wiki?UnitTesting
http://c2.com/cgi/wiki?PhpUnit
http://c2.com/cgi/wiki?UnitTestsAndDatabases

-- brion vibber (brion @ pobox.com)