Re: External Dependencies
| From: | Helgi Þormar | Date: | Tue, 29 Jun 2004 12:45:31 +0000 |
| Subject: | Re: External Dependencies | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-31330@lists.php.net to get a copy of this message | ||
On Tue, 2004-06-29 at 12:40, Stefan Neufeind wrote:
> 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 ...
>
There are couple of pear packages using simpletest, and also this there
is nothing wrong with using none pear testing frameworks :) Like I said
in the other email, just make a readme and explain what's needed and
where to get it.
Stefan also this providing basic PHPUnit tests AND have simple test for
more advanced testing... well is just too much of a work really, since
the learning curve is maybe to much for one person to handle ;)
So IMO we should allow people to use external testing framework if they
like, they just have to provide a readme with some hints where to get
the testing framework and such :)
Sometimes we have to lossen the leach a little :) (hope it's rightly
worded ;))
>
> Hope it helps,
> Stefan
--
Regards
Helgi