Re: Awfully crasy
| From: | Christophe Gesché | Date: | Sat, 12 Nov 2005 11:46:05 +0000 |
| Subject: | Re: Awfully crasy | ||
| References: | 1 2 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3241@lists.php.net to get a copy of this message | ||
Davey Shafik wrote:
> Just as a note,
>
> There was a discussion some weeks about allowing different test
> runners in PEAR than just the standard .phpt ones. Lets hope this
> bears some fruit :)
Yes I would re explain my message.
I think that
1° pear test foo would ALWAYS work in a STABLE package.
WITHOUT PRE-CHANGE like
- installing simpletest
- edit a config-test
- pray
2° Output off all test would be standardised to be catch in a batch.
and we are far far of this.
If the choice of test engine is open, great great
actually it's a choice between
- phpt stupid, easy and frequently enough to test .
- unitTest, more complex but working
used but not official
- simpletTest
- no test
Simpletest have 2 problem and to quality
problems
- not installed
- not PHP5 full compatible
quality
- more simple, more powerfull
- mock object
No test, for me it's like a package without real user doc
(real user doc != api doc generated by phpDocumentor)
It can't be STABLE !
My talk to greg about channels dirty.pear.php.net,
unmaintainedpear.php.net, testbrokenpear.php.net,
undocumentedpear.php.net was a ironic joke about the actual state of
packages.
I had undertood that's not the way and not the usage of channels
Finaly I would complete by
yes I come with big ideas and I criticize much.
But I want to be constructive.
If I make these remarks is to have feedback for myself to better
contribute then.
>
> Christophe Gesché wrote:
>
>> As test in Auth are really uncomplete, I had decide to complete it.
>>
>> As it's unit test, I'm going how do the other package.
>>
>>
>> And There I discover the awfully reality.
>>
>> Lot of package haven't test suite.
>>
>> I was already furry to frequently don't found doc, but test aren't
>> better.
>>
>> A lot of test use simpletest it's a good idea but simpletest is
>> not pear installable :(
>>
>> Tired of that I tell build a script to generate a repport of bad-
>> package.
>>
>> A stable package isn't only a stable code !!!
>>
>>
>> Greg, is it possible to have fake channels like
>> - dirty.pear.php.net
>> - unmaintainedpear.php.net
>> - testbrokenpear.php.net
>> - undocumentedpear.php.net
>> - ...
>>
>> Oh no we can do that, pear.php.net aka reallystablepear.php.net would
>> became completly empty ....
>
--
---------------------------------
Moosh -- claroline.net -- php.net
=== Php & Pear @ Fosdem 2006 ===
http://moosh.et.son.brol.be/ (fr)