Stanislav Malyshev wrote:
I think it does. If one needs to see which tests there are or are
there any tests that test particular thing or inspect certain aspects
of a functionality, navigating a maze of func_01234.phpt, all alike,
is a nightmare. Of course, I could open all of them one by one and
remember which one does what - that is if I were a being with
unlimited lifespan, infallible memory and never felt bored - but for
regular human it's a painful experience. So when writing a new tests
it would be very good to give them names that make sense, it doesn't
cost anything and helps people. Renaming old ones might be somewhat
boring task, so not sure anybody ever would do that...
I'm happy to rename as we work through - if we can see an obvious and
more descriptive name. Also, what about making the test directory
structure match the functional reference for core functions? Some of it
does at the moment (strings, array) but it would be good to put all the
variable handling tests in ext/standard/tests/variable_handling for
example. It's another thing we could do as we go along...
Zoe Slattery
IBM UK
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php