Re: Re: Stop Breaking Our Apps For the Sake of OO
| From: | Richard Lynch | Date: | Thu, 11 May 2006 21:17:00 +0000 |
| Subject: | Re: Re: Stop Breaking Our Apps For the Sake of OO | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23281@lists.php.net to get a copy of this message | ||
On Thu, May 11, 2006 3:58 pm, Rasmus Lerdorf wrote:
> Marcus has a point here. People are complaining loudly about bugs
> being
> introduced. These bugs would have been found quicker if we had better
> tests. If every complaint included a nice clean .phpt test file that
> can be dropped right into the system, things would go a lot smoother.
> Then the discussions can focus on those tests and how exactly we want
> something to behave instead of people getting up in arms over things
> that were obviously not intended to break.
I also think it's important for .phpt files to not just disappear nor
be changed as a General Principle...
Regression testing against an ongoing body of QA tests is a Good
Thing, imho.
If a .phpt file HAS to be changed, in the sense of an intentional
change to the language, I'd actually prefer a NEW .phpt file -- so
that we KNOW the old test "breaks" in version X+1 but it should still
PASS in version X.
But that's just this naive reader...
--
Like Music?
http://l-i-e.com/artists.htm