Unit Tests?

Sébastien Le Callonnec <[email protected]> Tue, 01 Jun 2010 19:41:26 +0100
Newsgroups gmane.comp.web.wiki.phpwiki.talk
Message-ID <[email protected]>
Hi All,


I’m in the process of writing a plugin for PhpWiki, and I’m writing unit 
tests, but I’m somewhat confused as to how to integrate them in the 
existing suite of tests.

I’ve tried to run the runme_all script (which needed a bit of fixing, 
see 
https://sourceforge.net/tracker/?func=detail&aid=3010043&group_id=6121&atid=106121) 
but I’m getting quite a fair bit of errors, more than likely because it 
looks like I need a “test” environment set up.  Is there any 
documentation about conventions regarding unit tests in the project? 
How do you guys run them?  There’s quite a fair bit of scripts in the 
tests folder, but I’m not sure which one(s) to use.


Thanks,
Seb

------------------------------------------------------------------------------