Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7791611
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:56:23+00:00 2026-06-01T21:56:23+00:00

When I create a controller with following through Zend_Tool command: create controller NameController …

  • 0

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

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T21:56:25+00:00Added an answer on June 1, 2026 at 9:56 pm

    I found a solution.

    In c:/user/you profile user/.zf.ini, the config file was like this:

    php.include_path = ".C:/wamp/bin/php/php5.3.8/pear/PHPUnit;C:/Program Files/NetBeans 7.1/php/zend;C:/wamp/apps/ZendFramework/library"
    basicloader.classes.0 = "NetBeansCommandsProvider"

    I took the php.include_path, leaving the file as follows:

    basicloader.classes.0 = "NetBeansCommandsProvider"

    Well .. this is crazy and did not understand because it worked well for me.

    NOTE: Please note that settings should already be set include_path in php.ini in the C:\wamp\bin\php\php5.3.8 and C:\wamp\bin\apache\Apache2.2.21\bin

    Thanks to all!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've added the following to my controller's create action: def create BatchUser.mass_insert_v2(params[:batch_user][:batch_name], params[:batch_user] [:batch_description],
If i have a controller action Create that returns a view with the following
info: iOS5, xcode4.3.2, iphone5 Create tab view controller application from xcode template wizard. Following
I have following spec to test controller method: context #create do it should redirect
I have a simple controller test, containing a.o. the following code: context POST :create
I am trying to create an admin instance through my admins controller create action,
I'm new to OS X programming but generally liking it. I have the following
I am trying to create controller actions which will return either JSON or partial
Here is a comm_logs controller 'create' def create if has_create_right? @customer = Customer.find(params[:customer_id]) @comm_log
I'm trying to create a controller which retrieves certain blogposts from the blog. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.