[dokuwiki] Re: DokuWiki Unittesting

  • From: Harry Fuecks <hfuecks@xxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sun, 23 Oct 2005 00:33:42 +0200

> Okay. Done. Well now we have 71 failing tests :-) - I definitively need
> help to get this working.

No problem. It may take me 1-2 weeks before I can concentrate on it
but will get there.

> > You'll probably want to delete alltests.php. Otherwise if you don't
> > want to waste time editing all the tests for the test, you can
> > probably just change the contents of testconfig.php
>
> This didn't work. I removed it instead and added the define to
> runtests.php - it should be probably placed somewhere else?

OK. Eventually it's probably worth removing this from the bottom of every file;

/**
* Conditional test runner
*/
if (!defined('TEST_RUNNING')) {
    define('TEST_RUNNING', true);
    $test = &new LexerGroupTest();
    $test->run(new HtmlReporter());
}
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: