We use PHPUnit quite a bit. We don't really do test driven development  
but we try to make sure any code we write is covered by a unit test.  
We are currently only at 42.31% code coverage, but improving every  
day. We also use phpUnderControl http://phpundercontrol.org/ for  
continuous integration. So every time a code change is checked into  
subversion phpUnderControl checks it out and then runs all of unit  
tests for the whole project to make sure nothing is broken. If  
something breaks the build everyone on the team gets an email telling  
us who checked in the latest code and what test is no longer passing.  
However, phpUnderControl does a lot more than just running unit tests.  
It will build documentation from the comments in your code using  
PhpDocumentor. It has a tab with metrics about your project with nice  
pretty graphs. It will also run PHP_CodeSniffer on your project to  
make sure that you are writing that conforms with the accepted coding  
standard you choose.

Fred

On Jan 19, 2011, at 9:17 AM, Kerry Peterson wrote:

> I've used the following:
>
> Simple Test http://www.simpletest.org/
> <http://www.simpletest.org/>Customized Curl Script
>
> I haven't used PHP Unit but I know a few people who have and think  
> highly of
> it:
>
> https://github.com/sebastianbergmann/phpunit/
>
> On Wed, Jan 19, 2011 at 9:06 AM, Merrill Oveson <[email protected]>  
> wrote:
>
>> List:
>>
>> What do you all recommend in terms of automated testing of apps  
>> written in
>> php?
>>
>> Merrill
>>
>
>
> -- 
> - Kerry
> http://www.xmech.net/


_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to