This is the mail archive of the mauve-discuss@sources.redhat.com mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Kissme-general] Re: Should I or not submit changes?


On 18 Jul 2002, Mark Wielaard wrote:

> Hi,
> 
> On Wed, 2002-07-17 at 11:32, Dalibor Topic wrote:
> > Porting tests over to Junit might not be too exciting,
> > though. I believe that (if the mauve hackers decide to
> > allow junit tests) it would be a better option to have
> > both frameworks in parallel for a while. As junit
> > relies on reflection, it wouldn't make much sense to
> > run it on an implementation with broken reflection
> > libraries. ;)
> 
> I agree. We should keep the testframework as simple as possible because
> it tests the core library implementation. I would like to avoid
> depending on reflection.

That was indeed one of the reasons why we use the Mauve framework for 
testing Wonka, even the company had already Standardised On (tm) JUnit
before we began.

> > The major point junit has for it, in my opinion, is
> > the amount of documentation surrounding it: books,
> > tutorials etc. It seems to be easy to find answers.
> > That could lower the entry barrier for fresh mauve
> > contributors.
> 
> It would probably not that much work to have a compatibility API in
> Mauve for junit tests. It isn't that different from the Mauve framework.
> http://junit.sourceforge.net/javadoc/junit/framework/package-summary.html

Yep, we've ported JUnit tests to Mauve rather easily.

> It is nice that JUnit allows you to create a TestSuite by reflection (it
> picks all methods starting with testXXX()) so you don't have to call
> them directly but I don't think supporting that in Mauve is very
> important.
> 
> Having a simple/short but good documentation and template/example file
> for Mauve will probably be more important for people wanting to
> contribute then JUnit support though.
> 
> Cheers,
> 
> Mark
> 

Best wishes

-- 

Chris Gray

VM Architect, ACUNIA



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]