I'm just getting started with unit testing in the zend framework. I've read lots of the docs ZF and PhpUnit but there are a few things I can't figure out.
- I have Zend Framework set up. Do I need to install PHPUnit too or is it all sorted within the framework?
- Zend Framework has created files for the unit tests under
/tests/application/controllers/ControllerNameTest.php. I assume I create my tests here. - How do I run a test? I'm sure this is really simple because the docs I have read assume I should know how to do this. Do I do it from the command line? If so, how?
Any help appreciated.
Thanks