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

Ralf Lang lang at b1-systems.de
Fri Feb 8 13:16:23 UTC 2013


-----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.

- -- 
Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlEU+qcACgkQCs1dsHJ/X7BKawCgrGXCHNoxr4jbeUu6bhZFK0BH
6pkAoLFzH9pE/AE2BOCNC9B1NOcp3UYK
=Raso
-----END PGP SIGNATURE-----


More information about the dev mailing list