Re: [RECALL] PEPr status - Request for a new one -AndPEAR_TestListener call for votes imminent

From: Date: Sun, 28 Jun 2009 21:34:30 +0000
Subject: Re: [RECALL] PEPr status - Request for a new one -AndPEAR_TestListener call for votes imminent
References: 1 2 3 4 5 6 7  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-52253@lists.php.net to get a copy of this message
Christian Weiske a écrit :
Hi Laurent,
To do it now, the same, and add log test suites exec and results, with PEAR_TestListener, you just have to: php path/to/AllTests.php
     --filter <your_filter> --group <your_group>
     --configuration <use_a_custom_phpunit.xml_config_file>
That's where I don't get it - how does my phpunit alltests file know that I want to use pear_testlister?
Christian, If you have a look on web page [1] behind pear proposal, you'll see - on 1. introduction, with XML_Util example, a yellow highlighted line to change. This one => PHPUnit_TextUI_TestRunner::run(self::suite()); - and replace by those described on 4. setting up Those ones => include_once 'PEAR/TestRunner.php'; PEAR_TestRunner::run(self::suite()); Don't forget to see all examples that show other situations [1] http://www.laurent-laville.org/pear/pepr/PEAR_TestListener/

« previous php.pear.dev (#52253) next »