Re: junit like php-test, needed for PEAR?
| From: | Tomas V.V.Cox | Date: | Mon, 25 Jun 2001 23:01:34 +0000 |
| Subject: | Re: junit like php-test, needed for PEAR? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-174@lists.php.net to get a copy of this message | ||
Wolfram Kriesing wrote:
>
> wouldnt it make sense using the junit like test framework, phpunit,
> which can be found on sourceforge, written by Fred Yankowski
> to test PEAR classes? since i have recognized/suggested to fix some bugs
> which could have been found using this tool easily and that would make
> pear even more reliable?
> may be even adding it to pear, if permitted?
> or is there any better test util which pear already uses, that i dont
> know of?
Stig wrote a test suite time ago. You can find the main tester script as
"run-test.php" and test files all arround the PHP and Pear files (in dir
tests). You can invoke tests so:
(run tests in a especific dir, just invoke run-test.php)
make test TESTS=/pear/DB/tests
storage hasn't yet its own test file, feel free to write it if you want
:)
Tomas V.V.Cox