[Solar-talk] tests in the browser
Rodrigo Moraes
rodrigo.moraes at gmail.com
Tue Sep 19 09:10:29 PDT 2006
On 9/19/06, Clay Loveless wrote:
> If a lot of people are running tests in the browser, I'd be
> interested to know about that...
Thank you for making test.php browser friendly. The way I was running
it in a browser was wrapping test.php in another file:
set_include_path(...);
session_start();
echo '<pre>';
$argv = array();
//$argv[1] = '...';
include 'tests/test.php';
echo '</pre>';
This idea is still good to use a different config; if the config array
existence was checked before Solar::start() it would be possible to
merge it with the default config (and thus allowing different tests
without modifying config.inc.php or test.php).
rodrigo
More information about the solar-talk
mailing list