Scott Gray-2 wrote:
> 
> OFBiz follows the textXXX method names because it has to for JUnit to work
> (at least for the version we have).  Renaming the Class just seems like a
> pain especially when a plural makes more sense.  Are you sure Clover isn't
> configurable in this regard?
> 

There is "Advanced Test Case Detection" that is typically used if you are
using a framework other than JUnit 3.x, 4.x, or TestNG.  I could certain use
that in my development environment and avoid the renames.  My line of
thinking goes something like ... if there is a broadly accepted standard we
should probably just adhere to it unless there is significant reason not to.

PROS: Adheres to broadly accepted naming convention, allows IDE tooling to
pickup without additional configuration.

CONS: I suspect we lose SVN history, involves some work, if we upgrade to
JUnit 4.x and use annotations there is less of a need (but I still think the
naming conventions are a good thing).
-- 
View this message in context: 
http://n4.nabble.com/Renaming-of-java-junit-tests-tp1755800p1755899.html
Sent from the OFBiz - Dev mailing list archive at Nabble.com.

Reply via email to