Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 715772

Summary: dev-php/phpunit: Add test suite + cleanup
Product: Gentoo Linux Reporter: Guillaume Seren <guillaumeseren>
Component: Current packagesAssignee: PHP Bugs <php-bugs>
Status: RESOLVED FIXED    
Severity: normal CC: jstein
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/15199
Whiteboard:
Package list:
Runtime testing required: ---

Description Guillaume Seren 2020-04-01 15:29:07 UTC
Hello,
I have been working on phpunit test suite,
it works, and I would like review.

The thing I don't like about it is, the autoloader is huge,
and to generate it you have to use 'composer dump-autoload --optimize' or phpab (theseer/autoload), but both require post generation changes, so ideas are welcome.
Comment 1 Guillaume Seren 2020-04-01 17:27:34 UTC
Hey,
I pushed a working first version of my branch, mostly clean,
but surely some more things to fix, feel free to send review.

Thank you.
Comment 2 Guillaume Seren 2020-04-07 18:24:10 UTC
Hey,
so here a recap on the work:

* I have upgraded phpunit ebuild to support test.
* Each other ebuild that needed changes also upgraded with test.
* The ebuild themselves are stable and working.
* The autoload / autoload-test generation is a bit tricky, I am still working on that but it is working and usable.

Please feel free to review when possible.


Thank you,
Guillaume.
Comment 3 Larry the Git Cow gentoo-dev 2023-09-15 07:52:40 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a015f3cf2cdf6d9cadda572bc80865558a59de9f

commit a015f3cf2cdf6d9cadda572bc80865558a59de9f
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2023-09-15 07:52:20 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2023-09-15 07:52:20 +0000

    dev-php/phpunit: treeclean
    
    Closes: https://bugs.gentoo.org/715772
    Closes: https://bugs.gentoo.org/759445
    Signed-off-by: David Seifert <soap@gentoo.org>

 dev-php/phpunit/Manifest              |  2 -
 dev-php/phpunit/metadata.xml          | 12 -----
 dev-php/phpunit/phpunit-8.5.11.ebuild | 96 ----------------------------------
 dev-php/phpunit/phpunit-8.5.14.ebuild | 97 -----------------------------------
 profiles/package.mask                 |  1 -
 5 files changed, 208 deletions(-)