Re: Bug #14613: Implement Function/Feature Conformity Tests
| From: | Yasuo Ohgaki | Date: | Thu, 20 Dec 2001 09:09:43 +0000 |
| Subject: | Re: Bug #14613: Implement Function/Feature Conformity Tests | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-74543@lists.php.net to get a copy of this message | ||
Great, Zak!!
I was hoping someone start this.
I really hope there is a BNF. Simplied one is preferred,
it helps to understand what zend expects. (Well I can read
lex(flex)/yacc(bison) source, but I'm just lazy enough to
understand BNF from them. I guess many programmers are
as lazy as me ;)
zak@php.net wrote:
-- Yasuo OhgakiFrom: zak@php.net Operating system: PHP version: 4.1.0 PHP Bug Type: Feature/Change RequestBug description: Implement Function/Feature Conformity Tests I strongly believe that PHP needs to continue evolving and improving. However, I also recognise the importance of maintaining backwards compatibility. To help balance these two conflicting desires, I have been kicking around the idea of implementing a set of tests to help determine when the behavior of a function changes. The basic idea is to run the tests against the various version of PHP, compare the output and flag when differences crop up. Users would be able to run these tests using a make target. The data from these tests could be used by a utility program that walks a directory structure, reading php files and looking for functions/features that have changed behavior. I would like to call these 'Lemosian Conformity Tests' in honor of Manuel's consistent and vociferous work on preserving BC. :) While I don't like his approach, I agree that it is a valid concern. Personally, rather than being chained to BC, I would rather that we actively work to help users deal with changes more effectively. Additionally, these changes would help developers and the QA team spot unintentional changes to function behavior.