Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate the PHPUnit custom printers to the event system #14

Open
akoebbe opened this issue Jul 9, 2023 · 0 comments
Open

Migrate the PHPUnit custom printers to the event system #14

akoebbe opened this issue Jul 9, 2023 · 0 comments

Comments

@akoebbe
Copy link
Owner

akoebbe commented Jul 9, 2023

Because PHPUnit 10 did away with the printerClass config setting, the band-new-developer friendly output no longer works. There is a new event base architecture that needs to be used, either directly or some existing adapter plugin. I would rather not use plugin/library for several reasons, the primary being I don't want to add to the installation process for new users.

There are a few projects that have accomplished migrating to the event system and it's worth looking at how they did it and follow their pattern. Examples are czim/phpunit-printer and paratest. The latter looks more straight forward, but there might something I'm missing.

So we need to migrate https://github.com/akoebbe/php_koans/blob/master/KoansLib/KoanPrinter.php to work with phpunit 10+

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant