The way the include path is defined in the TestHelper.php file is not
very accommodating if you have the incubator and standard library code
checked out into different directories.

http://framework.zend.com/code/browse/Standard_Incubator/tests/TestHelper.php?r=root:

45     $zfRoot        = dirname(__FILE__) . '/../..';
46     $zfIncLibrary  = $zfRoot . '/incubator/library';
47     $zfIncTests    = $zfRoot . '/incubator/tests';
48     $zfCoreLibrary = $zfRoot . '/trunk/library';
49     $zfCoreTests   = $zfRoot . '/trunk/tests';

It assumes that incubator and trunk live together which is not the case
for me.

Checking out the entire standard/* directory does not make sense as it
contains all the tags and branches as well.

I check out the trunk and incubator into separate Eclipse projects named
other than "standard" and "trunk".

Can we add a configuration option to the phpunit call to define the base
locations that get fed to TestHelper.php? Any other suggestion?

I don't want to have to maintain my own copy of the TestHelper.php file
as it dirties up my SVN working copy.

Thanks
Christoph




Reply via email to