From: Reini U. <ru...@x-...> - 2010-06-02 10:43:09
|
2010/6/1 Sébastien Le Callonnec <sl...@ya...>: > 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. I usually don't run the shell scripts anymore, just the new webinterface tests/unit//test.php which does the same, and more -- Reini Urban http://phpwiki.org/ http://murbreak.at/ |