Home > Archive > PHP PEAR Questions and Answers > February 2006 > Re: [PEAR-QA] Re: Awfully crasy
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Re: [PEAR-QA] Re: Awfully crasy
|
|
| bertrand Gugger 2005-10-31, 7:56 am |
| Bonjour,
Lorenzo Alberton wrote:
> Christophe Gesché wrote:
>
>
>
> yes it is:
>
> https://sourceforge.net/project/sho...lease_id=153280
>
>
> Best regards,
pear installable, ok, but not pear ...
Is it not nasty to introduce such an external dependency in the core of
a package ?
I say "core" as the package internum,
naturally lot of packages are dependent on external means as DB backends
or libraries or services ... but in this case that's their role to build
an interface to these externals things.
SimpleTest is then an extra unnecessary dependency.
I never said SimpleTest was not nice, I believe it is great !
a+
--
bertrand "toggg" Gugger
| |
| Helgi Ŝormar 2005-10-31, 7:56 am |
| On Mon, 31 Oct 2005 12:42:48 +0100, bertrand Gugger wrote:
> Bonjour,
> Lorenzo Alberton wrote:
>
>
> pear installable, ok, but not pear ...
> Is it not nasty to introduce such an external dependency in the core of
> a package ?
>
> I say "core" as the package internum,
> naturally lot of packages are dependent on external means as DB backends
> or libraries or services ... but in this case that's their role to build
> an interface to these externals things.
>
> SimpleTest is then an extra unnecessary dependency.
>
> I never said SimpleTest was not nice, I believe it is great !
Well there was a discussion about this way back and we decided that it was
okey to put this dep (SimpleTest) on the tests, usually only very
technical people run those tests (i.e. us) so there shouldn't be a problem
to fulfill the dep :)
Any tests are better than no tests :)
- Helgi
| |
| bertrand Gugger 2005-10-31, 7:56 am |
| re
Helgi Ŝormar wrote:
>On Mon, 31 Oct 2005 12:42:48 +0100, bertrand Gugger wrote:
>
>
>
>
>Well there was a discussion about this way back and we decided that it was
>okey to put this dep (SimpleTest) on the tests, usually only very
>technical people run those tests (i.e. us) so there shouldn't be a problem
>to fulfill the dep :)
>
>Any tests are better than no tests :)
>
>- Helgi
>
>
>
Ha sorry, I missed this discussion, but it's +1 from me,
I've no mental reservation on asking people to pear install SimpleTest
if they want to run the package's tests, what is surely wise for
critical/high values install.
And yes, better than ZeroTest which is the true awfull dependency :)
a+
--
bertrand "toggg" Gugger
| |
| Lorenzo Alberton 2005-10-31, 7:56 am |
| bertrand Gugger wrote:
> pear installable, ok, but not pear ...
so what?
> Is it not nasty to introduce such an external dependency in the core of
> a package ?
it's not a "core" component, it's a test running suite...
SimpleTest is the unittesting suite of choice for many devs,
since it has a wonderful and extensive documentation, it has
a lot of features that PHPUnit lacks, and PHPUnit2 is PHP5 only.
I don't see ANYTHING crazy about the fact that some
pear packages use SimpleTest.
Best regards,
--
Lorenzo Alberton
http://pear.php.net/user/quipo
| |
| Arnaud Limbourg 2005-11-01, 6:57 pm |
| Lorenzo Alberton wrote:
> bertrand Gugger wrote:
> it's not a "core" component, it's a test running suite...
>
> SimpleTest is the unittesting suite of choice for many devs,
> since it has a wonderful and extensive documentation, it has
> a lot of features that PHPUnit lacks, and PHPUnit2 is PHP5 only.
> I don't see ANYTHING crazy about the fact that some
> pear packages use SimpleTest.
Using simpletest is fine as far as I'm concerned :)
As helgi said, tests are better than no tests.
Arnaud.
| |
| bertrand Gugger 2006-02-13, 8:02 am |
| Helgi Ŝormar wrote:
>On Mon, 31 Oct 2005 12:42:48 +0100, bertrand Gugger wrote:
>
>
>
>
>Well there was a discussion about this way back and we decided that it was
>okey to put this dep (SimpleTest) on the tests, usually only very
>technical people run those tests (i.e. us) so there shouldn't be a problem
>to fulfill the dep :)
>
>Any tests are better than no tests :)
>
>- Helgi
>
>
>
Then actualize the guidelines :
http://pear.php.net/manual/en/devel...ontributing.php
<quote>
4. Regression tests in .phpt or PHPUnit
<http://pear.php.net/manual/en/package.php.phpunit.php> format
</quote>
please add simpletest (or some open expression) and precize php5 only
packages should use PHPUnit2.
cheers
--
toggg
|
|
|
|
|