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(a)sebastianmendel.de>
To: phpmyadmin-devel(a)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?
--
Sebastian Mendel
------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you. Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Phpmyadmin-devel mailing list
Phpmyadmin-devel(a)lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel