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@sebastianmendel.de To: phpmyadmin-devel@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?