-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Change the test listener interface to ensure that implementations are read-only #2477
Comments
Just a quick question. Can we assume that this level of write access would have a replacement prior to this change? Something that can be injected in, as opposed to requiring user-level editing of tests? |
The whole point of this is to get rid of write access. A listener should only listen, not change things around. What kind of write access do you need, @padraic? |
Essentially, we're doing some basic performance management applied to mutation testing: ordering test suites by execution time (though at the individual test level is beyond our current capabilities if I recall), and some test suite elimination where not relevant to a "mutated line". We can end up doing this hundreds of times (i.e. we can literally run phpunit hundreds of times), so the benefits are unique but extremely advantageous to that sort of batch running of phpunit. Hopefully that makes sense in that we wouldn't have any access per se to how the tests are written - we're just executing phpunit with some minor manipulation. |
Can you please open a feature request ticket for an extension point to sort |
I will do @sebastianbergmann |
No description provided.
The text was updated successfully, but these errors were encountered: