Re: Tests repository
| From: | Stanislav Malyshev | Date: | Fri, 12 Mar 2010 22:18:54 +0000 |
| Subject: | Re: Tests repository | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-47194@lists.php.net to get a copy of this message | ||
Hi!
There are going to be some technical challenges. Some (maybe a lot) of test will need updates or rewriting. run-tests.php may need more improvements than what is already planned. Knowing this, I would still rather update run-tests.php and fix the tests, then continue to applying tests to different branches of the code base.I still have yet to hear *how* these tests are supposed to be updated, to work everywhere. It's very easy to say "oh, we'll just fix them" - but how exactly you're going to fix them if the test is supposed to do one thing in 5.2 and another in 5.3? Are you going to have 2 versions of the file? if(version) wrapping the file? Two sets of output? Check for versions before outputting data? I think it's irresponsible to take such kind of decision without actually seeing what you're going to deal with and how. -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com