[dev] PHPUnit 3.6 breaks unit tests

Michael M Slusarz slusarz at horde.org
Tue Nov 8 19:50:35 UTC 2011


Quoting Michael M Slusarz <slusarz at horde.org>:

> Quoting Michael M Slusarz <slusarz at horde.org>:
>
>> So something obviously changed between 3.5 -> 3.6.  And yes, I was  
>> also hoping Gunnar could weigh in on this :)  I looked at the  
>> phpunit changelog, but nothing really stuck out - wondering if it  
>> is some kind of setting we need to add the phpunit.xml files to get  
>> this to work.
>
> Nevermind - saw your commit indicating that 3.6 is BC-incompatible  
> with the way we build our test environment.  I've reverted back to  
> 3.5.15.

FYI: It is impossible (at least for me) to downgrade to 3.5 because of  
a broken dependency on DbUnit (which requires 3.6).  So here's how i  
fixed:

1) Installed PHPUnit (which installs 3.6.2)
2) pear upgrade -f phpunit/phpunit-3.5.15
3) pear upgrade -f phpunit/php_codecoverage-1.0.5
4) pear upgrade -f phpunit/file_iterator-1.2.6

Sort of tremendously annoying.

michael

___________________________________
Michael Slusarz [slusarz at horde.org]



More information about the dev mailing list