PHPUnit 3.6.10 + ZendFramework 1.11.11 + NetBeans 7.1

Posted by Vegetus on Stack Overflow See other posts from Stack Overflow or by Vegetus
Published on 2012-04-11T17:25:16Z Indexed on 2012/04/11 17:29 UTC
Read the original article Hit count: 261

Filed under:
|
|

When I create a controller with following through Zend_Tool command:

create controller NameController

... netbeans creates a new controller successfully. BUT, it sends a message in the output window:

PHPUnit is required in order to generate controller test stubs.

How do I get Netbeans to automatically create a class with phpunit testing? I searched the net and thousands solutions so far not able to solve ...

Important Notes:

  • Have already installed the pear
  • Already installed phpunit
  • Already included 'phpunit' in the include_path
  • Has created a file and includes zf.ini too in the include_path
  • Options already configured netbeans, where I informed the directory phpunit.bat.

Is it a bug in NetBeans?

See:

http://img545.imageshack.us/img545/262/001hxw.jpg

http://img855.imageshack.us/img855/8918/002jfy.jpg

http://img196.imageshack.us/img196/378/003sfu.jpg

http://img834.imageshack.us/img834/1858/004qc.jpg

http://img444.imageshack.us/img444/1020/005jx.jpg

© Stack Overflow or respective owner

Related posts about zend-framework

Related posts about phpunit