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: UNCONFIRMED ---    
Severity: normal CC: jstein
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also:
Package list:
Runtime testing required: ---

Description Guillaume Seren 2020-04-01 15:29:07 UTC
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
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
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,