From: Reini U. <ru...@x-...> - 2004-05-07 20:49:40
|
Dan Frankowski schrieb: > I think unit testing is valuable for software development. There is some > kind of testing framework in phpwiki at phpwiki/tests. However, it seems > to be "functional tests"-- that is, tests of the entire interface, > rather than individual classes or methods (unit testing). Furthermore, > it requires perl and java, and seems to have many moving parts. > > I have written the very beginning of a small unit test framework, and I > attach it to this email. Now that's really great news! I added some tricky link syntax and committed it. It doesn't run yet inside the Zend Debugger, but this should be trivial. > phpwiki/tests/unit % php test.php > Run tests .. > TestCase inlineparsertest->testnowikiwords() passed > TestCase inlineparsertest->testwikiword() passed -- Reini Urban http://xarch.tu-graz.ac.at/home/rurban/ |