Re: Native run-tests.php for Installer

From: Date: Thu, 08 Jul 2004 00:38:12 +0000
Subject: Re: Native run-tests.php for Installer
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-31733@lists.php.net to get a copy of this message
Arnaud Limbourg wrote:
Hi, The next version of the pear installer, will ship with a native version of the PHP's run-tests.php suite, so that file won't be needed anymore, making more easy for developers to run test with "pear run-tests <file.phpt>" Problems with it are welcome.
You are welcoming problem ? :-D
Ouch :)
Anyhow, that's a very important feature. I guess a phpt can be written to run a PHPUnit/SimpleTest/you-name-it testsuite, right ?
You are right, in a very easy way. Just use the SKIPIF section for setting the prerequisites of your test suite. As an advice, I'd use the EXPECT section empty (or at least not relying in any var_dump or native error) when no errors. Tomas V.V.Cox

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