Hi! I have created basic project using Zend_Tool. There is a directory /tests/ with empty phpunit.xml and some empty test files.
Now I want to test if application is set up correctly. <phpunit bootstrap="../public/index.php" colors="false" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" stopOnFailure="true" syntaxCheck="true"> </phpunit> index.php is included automatically because application, include_paths are set up there. But running application is not necessary. Shall I create another file with application and include_path setup? This is not very smart solution. The same problem exists when I want to test Doctrine or use Doctrine CLI. Shouldn't be application setup moved a separate file? Maybe there should be more boostrap classes? How to utilize configuration [testing : production]? I have been looking for some examples how to use PHPUnit and Zend_Application, but with no luck. Any examples? Those empty test weren't generated in vain :) -- regards takeshin -- View this message in context: http://www.nabble.com/Zend_Application-PHPUnit-tests-tp23463508p23463508.html Sent from the Zend Framework mailing list archive at Nabble.com.