Skip to content
This repository has been archived by the owner on Mar 30, 2018. It is now read-only.

PHPUnit Test Listeners are technically read-only (not enforced). We need another means of manipulating suite execution order and suite filtering. #236

Open
padraic opened this issue Apr 26, 2017 · 2 comments

Comments

@padraic
Copy link
Collaborator

padraic commented Apr 26, 2017

It sounds like PHPUnit 7.0 will spell the end for the current approach...

See sebastianbergmann/phpunit#2477

Note: Current implementation is https://github.com/humbug/phpunit-extensions

@padraic padraic added this to the 2.0.0 milestone Apr 26, 2017
@padraic padraic removed this from the 2.0.0 milestone Apr 26, 2017
@padraic
Copy link
Collaborator Author

padraic commented Apr 26, 2017

Updated a bit to see how this actually develops. Presumably something will have to be added to allow test/suite level write access before cutting off the Listener API. There is a TestDecorator extension point documented, but I can't find any way of injecting that at present. We certainly can't ask users to add code somewhere (and how would we use if we did from outside the testing loop where we belong?).

@padraic
Copy link
Collaborator Author

padraic commented Apr 26, 2017

Opened sebastianbergmann/phpunit#2660

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

No branches or pull requests

1 participant