[dev] PHPUnit 8 compat (was: Re: Preparing compatibility with PHPUnit 6)

Mike Gabriel mike.gabriel at das-netzwerkteam.de
Tue Jun 9 07:33:38 UTC 2020


Hi again,

On  Sa 06 Jun 2020 23:25:17 CEST, Mike Gabriel wrote:

> I am currently looking into Horde Unit Tests and they all make  
> severe problem as time has passed and PHPUnit has moved on to  
> version 8.5.2 in Debian unstable.
>
> I understand that PHPUnit is a fast moving target, but bundling an  
> old PHPUnit version in Horde_Test is neither an option for Debian.
>
> There are several options at hand:
>
>   * pick up PHPUnit test migration, but not to 6, but 8.
>   * bundle PHPunit 4.8 in php-horde-test in Debian as upstream does
>   * don't run Debian's autopkgtests on php-horde-* packages
>
> I guess this original idea of a script that walks over all packages  
> and updates the test API would be a good idea. However, is keeping  
> compatibilities with PHPUnit 4.8 really a good approach considering  
> that we have moved on much further with PHPUnit these days?
>
> Currently, the php-horde* packages won't migrate to Debian testing,  
> because of failing unit tests after upload. Any suggestions from  
> people involved upstream?

I'd be up for working on PHPUnit8 compatibility. I'd propose bumping  
Horde_Test to compat to 8.x and dropping 4.8.x compat.

I'd love to get some feedbacks on this.

Mike

-- 

DAS-NETZWERKTEAM
c\o Technik- und Ökologiezentrum Eckernförde
Mike Gabriel, Marienthaler Str. 17, 24340 Eckernförde
mobile: +49 (1520) 1976 148
landline: +49 (4351) 850 8940

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: mike.gabriel at das-netzwerkteam.de, http://das-netzwerkteam.de

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 851 bytes
Desc: Digitale PGP-Signatur
URL: <https://lists.horde.org/archives/dev/attachments/20200609/956764bf/attachment.sig>


More information about the dev mailing list