Lorna Mitchell's Blog: PHPUnit with Zend_Controller_Action_Helpe...

Courtesy PHPDeveloper.org  Thu, 07/23/2009 - 06:50

Lorna Mitchell has posted about another aspect of the REST project she's been developing and an issue that's come up with testing with PHPUnit .

I ran into problems very quickly - when I tried to write the first unit test for the first action in fact!

PHPUnit was just dying when I asked it to dispatch() any URL which didn't return HTML, it wasn't even giving its usual output.

What was actually happening was I...


 

More related items

Ade Slade's Blog: Integrating Zend Framework 1 and...
In this new post to his blog Ade Slade shows how to integrate the Pimple lightweight dependency injection container with a Zend Framework application. This post will describe a way to...

Visualizing PHPUnit runs - Christian Weiske
LESS, a project I'm currently hacking on @work, has has a unit test suite that was a pain to use because the ~80 tests took 45 seconds to run. The problem with that test suite is that you...

Improving Code Quality with Flash Builder 4 and...
Unit testing is becoming a fairly common element of software projects because of its promise of providing better quality to the code base. A unit test is a class or method that exercises your...


 

Post new comment

The content of this field is kept private and will not be shown publicly.
computer-internet.marc8.com