Re: External Dependencies
| From: | Stefan Neufeind | Date: | Tue, 29 Jun 2004 12:40:49 +0000 |
| Subject: | Re: External Dependencies | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31327@lists.php.net to get a copy of this message | ||
On Tue, 29 Jun 2004 at 14:36:01, Jon Wood wrote:
> I'm currently developing a new version of Auth_PrefManager, and want
> to include a test suite based on SimpleTest
> (simpletest.sourceforge.net), since it's more mature than PHPUnit.
>
> What's the policy on external dependencies - should they be included
> in CVS and with the package, or should anyone who wants to run the
> test suite have to install it themselves?
Imho we should not divert unit-tests among too many unit-testing-frameworks..
Are your testcases really unsolveable with PHPUnit? Have you checked back with
Sebastian, maybe had a look at the extended PHPUnit2 (php5 only!) etc.?
External dependencies are (not yet) possible. You could add external
dependencies as soon as channel-support is available - but I think we agreed
that PEAR-packages should not have any external dependencies.
So if simpletest really has further advantages over PHPUnit or anything, imho
it would be best to provide basic PHPUnit-tests and have a separate directory
that explains where to get simpletest from and holds test-files to run with
that testing-framework.
PS: Please note I don't know too much details about SimpleTest yet ...
Hope it helps,
Stefan