-- Chris MacPherson <[email protected]> wrote
(on Wednesday, 25 March 2009, 12:44 PM +0000):
> I am trying to test my controller in Zend Studio 6.1 using a
> Zend_Test_PHPUnit_ControllerTestCase. I keep getting the following error.
> 
> Fatal error: Call to undefined method
> FooControllerTest::incrementAssertionCounter() in C:\xampp\php\include\Zend\
> Test\PHPUnit\ControllerTestCase.php on line 1099
> 
> I found the bug in the issue tracker here
> http://www.google.co.uk/url?sa=t&source=web&ct=res&cd=2&url=
> http%3A%2F%2Fframework.zend.com%2Fissues%2Fbrowse%2FZF-4839%3Bjsessionid%3DB4721E524F8C16161F67B08930179CB2%3Fpage%3Dcom.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel
> &ei=pybKSdreKI6v-Aagy5jvBw&usg=AFQjCNE_bL1XAuoh7_UKWt80_uSKi-3Y1A&sig2=
> FxzqKaB4orh7rsiO0_6wSQ
> 
> I also found this blog post which I tried but still I see the same error
> message.
> http://theitdepartment.wordpress.com/2008/11/19/
> zend-framework-17-zend-studio-61-phpunit
> 
> I am using the latest ZF library and not sure what to do to get my tests
> running.
> 
> Any help would be amazing :)

What exact versions of the following are you using:

 * PHPUnit
 * Zend Framework

Also, can you run your unit tests from the CLI (i.e., not inside Studio)
without issue? or do you get the same errors?

-- 
Matthew Weier O'Phinney
Software Architect | [email protected]
Zend Framework     | http://framework.zend.com/

Reply via email to