On Thu, Dec 2, 2010 at 12:07 AM, Mike A <[email protected]> wrote:

> I can unit test individual ZF objects with PHPUnit if I take the object
> into my own project folder and strip out PHPUnit references. If, however, I
> set the directory path to the ZF object in the library folder on my server I
> get errors like "Call to undefined method
> PHPUnit_Util_Filter::addFileToFilter() in
> E:\xampp1.7.3\xampp\libraries\ZF-1.11.0\tests\Zend\Controller\_files\EmptyController.php
> on line 25".
>
> Please, could someone advise on the correct way to run tests supplied
> within the ZF library.
>
> Mike A.
>

Check out: http://www.zendcasts.com/?s=unit+testing
There are some valuable resources there to help you get started.
I'm currently writing some tests for existing code before continuing to
write new stuff as the testing can change how you write things, but it's
well worth it.

cheers,

ron



-- 
=================
Ron Dyck
[email protected]
www.webbtech.net
=================

Reply via email to