xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Bau" <david....@bea.com>
Subject How to make sure v2 maintains v1 quality
Date Fri, 21 Nov 2003 20:58:21 GMT
Hey guys,

An issue asked by Scott+Remy this morning.  How do we keep v2 quality as
high as v1, even as v2 is changing and iterative fixes continue to be
checked into v1?

How about the following proposed rule - it's an idea I got from Andrew
Oliver at apachecon; he apparently enforces this kind of rule on his POI

(1) Any v1 change must come with an DRT test (i.e., a junit test that is run
when you say "ant drt") that would have failed without the patch, and which
passes with the patch.  No test, no checkin.

(2) Every checkin must also port the test into the v2 DRT, no exceptions.

(3) Every checkin should also port the test into the v1 code so that the v2
DRT passes.  However, if the v2 code has changed so much that this is not
reasonable, then you're allowed to comment out the v2 DRT test that fails as
long as you open a bugzilla bug against v2 so we remember to get it to pass.

Do you think that is a workable approach?


- ---------------------------------------------------------------------
To unsubscribe, e-mail:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/

View raw message