-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
Zend/tests: organize some tests with sub directories #15638
Conversation
@Girgias can I get your thoughts on this? Having recently had to scroll through the list of Zend tests a number of times for other recent patches, this would really come in handy |
I am overall in favour of this sort of changes as needing to run all the Zend tests when just checking one specific part is very time-consuming, and does lead to wasted CI time when one thinks one has run all the tests but in reality no. |
9006411
to
3cc37ac
Compare
Move some low-hanging fruit, creating new directories for the tests for * access modifiers * `class_alias()` * constant expressions * constructor property promotion * `__debugInfo()` * dereferencing * first class callable syntax Additionally, move some tests into the existing sub directory for closure-related tests Work towards phpGH-15631
3cc37ac
to
6b0f377
Compare
Not sure why GitHub was reporting a merge conflict, |
Thank you. :) |
Since this PR we have both: https://github.com/php/php-src/tree/master/Zend/tests/constexpr and https://github.com/php/php-src/tree/master/Zend/tests/constant_expressions which is probably not a good idea. For #17213 (which should land at the end of the week), I've now opted for |
Sorry about that - based on the names I assumed that they referred to two different contexts, but I guess not. Do you want me to merge those directories? |
Please double-check that they are indeed referring to the same thing and then merge them, yes. Keep the |
Move some low-hanging fruit, creating new directories for the tests for
class_alias()
__debugInfo()
Additionally, move some tests into the existing sub directory for closure-related tests
Work towards GH-15631