cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Crossley <cross...@indexgeo.com.au>
Subject Re: Getting test cases written
Date Sat, 18 May 2002 11:47:43 GMT
Ross Gardler wrote:
> David Crossley wrote:
> 
> >>************************************************************************
> >>* If you have an area that commonly causes problems please let me know *
> >>************************************************************************
> >>
> >>That is where I will focus my initial efforts.
> >>
> >><snip/>
> >>Thanks for the info, time for me to go look in bugzilla and see if there 
> >>are any recurring bugs in another part of the system just waiting for 
> >>unit tests.
> >>
> > 
> > Wow. Ross, this is vital. So please do help to start the process.
> 
> 
> <snip>
> 
>  > However, i remember
>  > that Bernhard warned that JUnit tests could be hard to maintain.
>  >  http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=100972338307120
>  >  Re: BUG 5060, CommandlineContext
> 
> I certainly agree with Bernhard, unit tests are hard to maintain. On one 
> of our projects we have just appointed someone to focus on testing, 
> perhaps Cocoon could benifit from such an approach, if only Unit Tests 
> were as interesting new code ;-)
> 
> I should be able to spend a day on this next week, I'll come back
> with a proposal about how to get started, and maybe even write the
> odd test :-) 

I speak with absolutely no knowledge of this topic (though i
certainly appreciate it). Anyway i want to encourage this to
happen.

I have heard Ovidiu make reference to Anteater, and especially
to recent work in this area.

Is "unit testing" different to "functional testing", or are they
complementary?

Here are a few relevant Anteater threads ...
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=101831758001240
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=102168000122016
http://marc.theaimsgroup.com/?l=xml-cocoon-dev&m=101897525908787

You mention something above that could be key ... if only
unit tests were interesting. I wonder if Cocoon could help
itself here. If the results of running the test suite were generated
as xml, we could have a Sample that demonstrates how happy
Cocoon is with its current state. The developers would like to
be sure that their favourite classes were behaving well.
--David


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message