tags:

views:

217

answers:

2

I want to create a Zend Controller Test Case with Zend Studio 7.0.

(from Zend documentation) "To create a new Zend Controller Test Case: 1. In PHP Explorer view, right-click the Controller file containing the classes you would like to test and select New | Zend Framework Item | Zend Controller Test Case."

But I can see only "Zend Controller (Template Based)" and "Zend Controller (Zend Tool Based)", no "Zend Controller Test Case"!

A: 

I think what you looking for is a PHPUnit Test Case.

To get there assuming you have the default setting on your Zend Studio follow the following steps:

1.Right Click on the controller.

2.Go to New->Other->PHP->PHPUnit->PHPUnit Test Case.

davykiash
A: 

No, he means Zend Controller Test Case. I, too, am looking for this in Zend Studio 7 -- I'm wondering if they took it out??

potto007