ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Adrian Crum <adrian.c...@yahoo.com>
Subject Re: Improve testing (tools & dev-test cycle)
Date Sun, 01 Aug 2010 14:50:53 GMT
Eclipse works fine with the folder structure Erwan suggested. Apache Commons does it that way
and it works great!.

-Adrian

--- On Sun, 8/1/10, BJ Freeman <bjfree@free-man.net> wrote:

> From: BJ Freeman <bjfree@free-man.net>
> Subject: Re: Improve testing (tools & dev-test cycle)
> To: user@ofbiz.apache.org
> Date: Sunday, August 1, 2010, 5:35 AM
> just note under Eclipse you will get
> bunch of errors if the package does 
> not match the path.
> if you do command line compile the class will not be in
> right path in 
> the /build/classes folder and hence in the jar.
> There was talk on the develist about different loads so the
> test jars 
> are not loaded for production.
> 
> 
> Erwan de FERRIERES sent the following on 8/1/2010 5:25 AM:
> > Le 01/08/2010 13:25, René Scheibe a écrit :
> >> -----BEGIN PGP SIGNED MESSAGE-----
> >> Hash: SHA1
> >>
> >> I am not happy how I have to develop/test
> components in hot-deploy. It
> >> does not encourage test-driven development. That's
> also reflected in the
> >> quite low number of unit tests in the whole OFBiz
> system. :-(
> >>
> >> 1. What are the plans to migrate to JUnit4?
> >> - - I just have seen a post about renaming tests
> >> (http://comments.gmane.org/gmane.comp.java.ofbiz.devel/44766)
> but no
> >> follow-up
> >> - - if I want to migrate OFBiz to JUnit4 do you
> have any tips or is there
> >> anything special I have to take care of?
> > Hi Rene,
> > One of the things which still needs to be done is
> separating test source
> > code from application code. At the moment, everything
> is still present
> > under src/org/ofbiz, instead of src/main and
> src/test.
> > This would be, from my POV, a very good improvement
> which could just go
> > in the right direction in adding more tests !!
> >
> > Cheers,
> 


      

Mime
View raw message