In my previous applications I've been able to write some tests against some
DOM conditions using the Zend_Test package pretty easily. Now in my latest
application using Zend_Application as bootstrap method I don't understand
how to make things working. In the official documentation there are only
examples that bootstrap the test environment using initialization plugins
like this:

class UserControllerTest extends Zend_Test_PHPUnit_ControllerTestCase
{
    public function setUp()
    {
        $this->bootstrap = array($this, 'appBootstrap');
        parent::setUp();
    }

    public function appBootstrap()
    {
        $this->frontController
             ->registerPlugin(new Bugapp_Plugin_Initialize('development'));
    }

But how to make this work with Zend_Application? I tried different
approaches but none of them worked :-(

Any hint?

Thanks in advance.

-- 
View this message in context: 
http://www.nabble.com/Zend_Application-and-Unit-Testing-with-Zend_Test_*-classes-tp25108686p25108686.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to