[dev] PHPUnit on pear-installed horde components Argument #1 of PHPUnit_Framework_TestSuite::addTestSuite() must be a class name or object

Jan Schneider jan at horde.org
Fri Feb 8 13:32:41 UTC 2013


Zitat von Ralf Lang <lang at b1-systems.de>:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 08.02.2013 14:15, Mathieu Parent wrote:
>> 2013/2/8 Ralf Lang <lang at b1-systems.de>: Hi, I'm stuck running
>> phpunit on a pear-installed Horde component. I used to run tests
>> against a git checkout/developer installation before.
>>
>>> I suspect that this comes from the Autoloader not correctly
>>> constructing path from class name (or the opposite).
>>
>>> In Debian, tests are under /usr/share/php/tests (ex:
>>> /usr/share/php/tests/Horde_Mail/Horde/Mail/AddressTest.php)
>>
>>> but Horde_Test_Bootstrap::test() function wants a "test"
>>> directory (without "s"). No time to propose a patch, sorry.
>>
>
> That's already much of a pointer. I'm looking into this.

Fixed in Git.
-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the dev mailing list