-
Notifications
You must be signed in to change notification settings - Fork 7.9k
Move tests to their respective directories #19340
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
base: master
Are you sure you want to change the base?
Conversation
9b1340b
to
8ae23fe
Compare
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.
This is kinda hard to review as GH doesn't allow looking at the content... I think having multiple PRs which move things into the correct folder is more manageable
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.
This feels like it should be in ext/standard/tests/array/
Zend/tests/opcache/gh12366.inc
Outdated
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.
opcache stuff should probably be moved to ext/opcache?
Zend/tests/reflection/bug54013.phpt
Outdated
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.
Reflection stuff should probably be in ext/reflection
Yes, I wasn't sure if I should come up with multiple PRs or not. I'll create separate ones 👍 |
8ae23fe
to
9a9d934
Compare
Updated to reach ~130 tests. Please tell me if you need me to reduce the PR even more 👍 |
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.
This should be a comparison tests not a string test
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.
This is not a string test but a ZPP test that should be in it's own directory if not.
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.
ZPP test
After #19332 (comment), I propose to move tests not in a subdirs of
Zend/tests
to their respective subdirectories. Tests for bugs and GitHub issues are also put in relevant subfolders.