Re: What I love about CPAN and what I hope PEAR will be
| From: | Lukas Kahwe Smith | Date: | Sun, 22 Oct 2006 20:45:49 +0000 |
| Subject: | Re: What I love about CPAN and what I hope PEAR will be | ||
| References: | 1 2 3 4 5 6 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-44714@lists.php.net to get a copy of this message | ||
Arnaud Limbourg wrote:
Joshua Eichorn wrote:Yeah, the main challenge/question is how to unify all the different configs, unit test frameworks etc used under a common enough interface to make it possible to run automated tests. I guess that is what that AllTests.php file is about? regards, LukasPeter Beckman wrote:As a first step we need each project with unit tests to provide an AllTests.php that can be run with pear run-tests. On a related note that might be of interest is what the ZF guys didOn Fri, 20 Oct 2006, Alister Bulman wrote:The installer has a run-tests command so im guessing the standized way already exists, it just a matter of setting up some automated testing. Seems like it would be pretty easy to grab the code from the installer and do automatic testing of releases. Then its just a matter of adding some reports and formalizing the process. But again its the type of project that needs someone to take the first steps on and get the ball rolling. -joshOn 20/10/06, Joshua Eichorn <josh@bluga.net> wrote:Amen. Well put and yes, that's what I'm suggesting. I think the coding standards will need to standardize on something so that EVERY package has the tests in a standard way so that automating testing doesn't rely on hacks.So whats your suggestion for PEAR, the only difference I see at all is build server for compiling on multiple distros (which might apply to pecl but doesn't apply to pear) -joshI'd think the suggestion is: Automatically running unit tests, could get fancy like a Continuous Integration system (that I would love to be able to run with code I'm developing), or something a little simpler like running every X hours/every time code is checked into the PEAR CVS repository - and it just emails to the QA mailing list.