Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715772 - dev-php/phpunit: Add test suite + cleanup
Summary: dev-php/phpunit: Add test suite + cleanup
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: PHP Bugs
Keywords: PullRequest
Depends on:
Reported: 2020-04-01 15:29 UTC by Guillaume Seren
Modified: 2020-04-07 18:24 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
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,