You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by David Bau <da...@bea.com> on 2003/11/21 21:58:21 UTC

How to make sure v2 maintains v1 quality

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
project.

(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?

David


- ---------------------------------------------------------------------
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/