[dev] Broken unit tests

Chuck Hagenbuch chuck at horde.org
Fri Sep 25 15:16:54 UTC 2009


Quoting Gunnar Wrobel <p at rdus.de>:

> Quoting Chuck Hagenbuch <chuck at horde.org>:
>
>> Kolab_Storage is currently breaking the Horde unit tests:
>>
>> Fatal error: Class 'Horde_Kolab_Test_Server' not found in  
>> /.../horde/horde/framework/Kolab_Storage/lib/Horde/Kolab/Test/Storage.php  
>> on line 38
>>
>
> I'm working on both Kolab_Storage and Kolab_FreeBusy at the moment.  
> I should have used a separate branch for that work as it turned out  
> to be somewhat more complex than I thought it would be.

Not too late to branch it off now if you want. :)

>> I'm not sure why there are PHPUnit base test classes in the lib/  
>> dirs, either... ?
>
> I did not find a decent alternative for this so far. The Unit test  
> suite in Kolab_Storage requires some basic functionality I currently  
> provide within Kolab_Server. Kolab_FreeBusy requires the extended  
> function set provided within Kolab_Storage. Would it be better to  
> place these TestCase extensions into the Horde_Test package?

I don't think so... what about loading them directly out of the  
Kolab_Sserver test/ dir? I'm not sure what opinions others have here...

-chuck


More information about the dev mailing list