-- Christoph Dorn <[EMAIL PROTECTED]> wrote
(on Friday, 25 July 2008, 10:26 AM -0600):
> 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.

Please add a request in the issue tracker for this. With the addition of
the extras repository and laboratory, and subversion 1.5 now available
(which allows merging between different checkouts), this is going to be
increasingly an issue.

-- 
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to