View Single Post
  #1 (permalink)  
Old 05-05-2008, 07:44 AM
drake drake is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default unit testing + zend

I'm having trouble integrating SimpleTest to the MVC framework that Zend uses. What's the best way to structure the unit tests?

Even if I have a folder for "tests", I can't actually access it through my browser due to the clean url's that Zend uses. For example, I can't just have:

http://localhost/tests/testfunction

without having a TestsController with a testfunctionAction(). Is this the best way to do it? Can someone tell me what is considered "best practice" in terms of FILE STRUCTURE? I realize that I can use a command line approach for SimpleTest, but I was kind of hoping to have a browser-based testing system.

Thanks for your time and help!
Reply With Quote