[Phpmyadmin-devel] AllTests.php

Marc Delisle Marc.Delisle at cegepsherbrooke.qc.ca
Wed Dec 10 14:19:35 CET 2008


Hi again,
is there a way to get verbose output when running from a browser?

Marc

Marc Delisle a écrit :
> Hi Sebastian,
> The tests run twice when executed via a shell:
> cd test
> phpunit AllTests.php
> 
> Now I understand why you added this code. The student who is helping with the tests is also running the tests outside a browser. I wonder what is the "official" way of running them, I was under the impression that it is via a shell command.
> 
> Marc
> 
> -----Original Message-----
> From: Sebastian Mendel <lists at sebastianmendel.de>
> To: phpmyadmin-devel at lists.sourceforge.net
> Date: Wed, 10 Dec 2008 10:50:51 +0100
> Subject: [Phpmyadmin-devel] AllTests.php
> 
> Hi Marc,
> 
>> // Please clarify the reason of this section; it has for effect
>> // of running the tests a second time.
>> /*
>> if (PMA_MAIN_METHOD == 'AllTests::main') {
>>     echo '<pre>';
>>     AllTests::main();
>>     echo '</pre>';
>> }
>> */
> 
> why a second time? when commenting out the code the test do not run at 
> all for me!?
> 
> i start the tests by entering http://phmyamdin/test/AllTests.php in my 
> browser, how do you start the tests?
> 





More information about the Developers mailing list