-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Auto-review tests to enforce @group
annotations
#6772
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
Auto-review tests to enforce @group
annotations
#6772
Conversation
803bff9
to
cd7bf55
Compare
Under deliberation at the other PR. |
cd7bf55
to
f96b933
Compare
Not sure, but > vendor/bin/phpunit --list-groups
PHPUnit 9.5.26 by Sebastian Bergmann and contributors.
Available test group(s):
- AutoReview
- Others
- SeparateProcess
- default |
f96b933
to
8f5528f
Compare
That's very odd! I will do a little digging. |
I got nothing; everything looks correct to me. I think we proceed with this and then troubleshoot some more if the groups aren't actually working. |
I did some testing on the |
$ vendor/bin/phpunit --list-groups
PHPUnit 9.5.26 by Sebastian Bergmann and contributors.
Available test group(s):
- AutoReview
- Others
- SeparateProcess
- default |
Cannot merge this for now. Coverage decreased to 15.9%. 🤯 |
This is not a bug of PHPUnit. Testing with a minimal repo lists all groups as expected. So it has something to do with the current phpunit.xml.dist and the changes to it. |
8f5528f
to
9c60327
Compare
I am so confused why the tests hang! 😤 |
9c60327
to
15225f6
Compare
$ vendor/bin/phpunit --list-groups
PHPUnit 9.5.26 by Sebastian Bergmann and contributors.
Available test group(s):
- AutoReview
- CacheLive
- DatabaseLive
- Others
- SeparateProcess |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I haven't looked into the details of the check implementation.
Description
Needs #6770 for tests to pass.
Code based on my private repo.
Checklist: