Here is my command on the terminal and I got a notice message
Note: PHPUnit is required in order to generate controller test stubs.
volition@volition-H61M-DS2:/var/www/register$ zf create action root Authentication
Note: PHPUnit is required in order to generate controller test stubs.
Creating an action named root inside controller at /var/www/register/application/controllers/AuthenticationController.php
Updating project profile '/var/www/register/.zfproject.xml'
Creating a view script for the root action method at /var/www/register/application/views/scripts/authentication/root.phtml
Updating project profile '/var/www/register/.zfproject.xml'
This is my include_path:
include_path .:/usr/share/php:/usr/share/pear
I don’t know what I’m doing wrong here.
and also I want to know what is the use of phpUnit ??
It just is what it says. If you want to create test stubs, you need to have PHPUnit installed. Zend can automatically create tests for you when you generate code. It’s not an error or a notice (as in
E_NOTICE), it’s simply a Note.PHPUnit is a unit testing framework that helps you to test your code. If you don’t know what that means, by all means go read the PHPUnit documentation.