ZF-2583: Include TestHelper in any independent test suite and test class
Description
TestHelper should be require_once'd in any test suite that may be run independently.
Otherwise, Zend library will not be available in current include_path and you'll not be able to run a class specific unit test.
Let me show you a few examples:
// the following statement works fine phpunit --verbose Zend_Service_Yahoo_AllTests
// the following statements fail // Failed opening required 'Zend/*' ... phpunit --verbose Zend_Service_Yahoo_OfflineTest phpunit --verbose Zend_OpenId_ConsumerTest
// the following statement fails for the same reason as above phpunit --verbose Zend_OpenId_AllTests
Comments
Posted by Wil Sinclair (wil) on 2008-06-15T13:59:56.000+0000
Changing to comply with new IT coventions for components.
Posted by Ramon Henrique Ornelas (ramon) on 2010-12-20T08:48:28.000+0000
Fixed with the issue ZF-10837.