Hello Everyone,
I'm playing with the Zend_Test_PHPUnit_ControllerTestCase and have run
into a behavior which is somewhat different from what I'm used to with
"plain" phpunit testing.
This is what I have:
class MyControllerTest extends Zend_Test_PHPUnit_ControllerTestCase
{
public function testSome()
{
$this->dispatch('/some');
$this->assertModule('some');
}
}
Now if "/some" throws exception all I see is: Failed asserting last
module used <"default"> was "some"
I would expect notifying me about the thrown exception right away, as
it took me a while to track it down...
Is this the expected behavior?
Thank you in advance,
M.