From: Steve W. <sw...@pa...> - 2001-09-20 21:03:19
|
Hello, The folks at my last job were very kind in turning over to me the rights to a little testing system I wrote for them. I've added it to the 1.3 branch. It consists of two Perl scripts; one generates a Makefile and a build.xml file, the other generates Java source files based on input scripts. To use this testing software, you need Java (java + javac), Perl, Ant (from http://jakarta.apache.org/ant/) and httpunit (from http://httpunit.sourceforge.net/). Ant has to be in your PATH, and the three jar files in httpunit have to be in your CLASSPATH. The idea behind this is you can run a set of automated tests against the Wiki as you do development. That way you can readily see if your code changes broke anything. I will be adding some more tests, probably today, and committing a few tutorial pages to pgsrc/ to show how to use it. Hopefully, once you have Ant and httpunit set up, you will have to do very little to run tests outside of: cd tests/ ./makemakebuild.pl ant and a whole bunch of tests will run against PhpWiki. cheers ~swain --- http://www.panix.com/~swain/ "Without music to decorate it, time is just a bunch of boring production deadlines or dates by which bills must be paid." -- Frank Zappa http://pgp.document_type.org:11371/pks/lookup?op=get&search=0xF7323BAC |