Re: unit tests for PEAR core

From: Date: Sun, 31 Aug 2003 20:43:23 +0000
Subject: Re: unit tests for PEAR core
References: 1 2  Groups: php.pear.qa 
Request: Send a blank email to pear-qa+get-171@lists.php.net to get a copy of this message
Arnaud Limbourg wrote:
Hi, I've just started looking at how to create unit tests for the core of PEAR. This task is overwhelming, since there are years of things being [snip]
A simpler system for testing the core is desperately needed, so any ideas/people interested in helping?
Wow, that is a very complicated task. Making it would require a lot of time, maintaining even more so. It could fall into disregard very easily. What are thinking about when you mention PEAR core ? the pear command ? (just to understand what we are talking about ;) Arnaud.
the PEAR_* classes (except PEAR_Error, which already has unit tests). There are not even basic regression tests to make sure something like what happened from 1.2b3 to 1.2b4 doesn't happen (installation was completely borked by one of my patches that was accidentally untested). Perhaps a first step would be to do the .phpt for PEAR_Common, since that is the basis of almost every package. The registry already has unit tests. If someone wants to take on writing unit tests for PEAR_Common, I will look into writing them for the PEAR_Installer. Greg

« previous php.pear.qa (#171) next »