cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Roebuck <stuart.roeb...@adolos.co.uk>
Subject Re: [C2] Unit testing.
Date Sat, 10 Feb 2001 19:23:34 GMT
On Saturday, February 10, 2001, at 05:20 PM, Giacomo Pati wrote:

> Berin Loritsch wrote: 
> > Paul Russell wrote: 
> > > * Stuart Roebuck (stuart.roebuck@adolos.co.uk) wrote : 
> > > > I kept my tests in separate directory hierarchies at first but found 
> > > > it more of a hassle to maintain, especially working from the command 
> > > > line - though I don't do that very often!  Putting them in the same 
> > > > directory gives me a visual check on whether everything is unit 
> > > > tested, and/or whether I have moved and renamed everything when I'm 
> > > > refactoring - I just visually look for side-by side pairs in the 
> > > > listing. 
> > > 
> > > Mm-hmm. Okay, I'm happy to put them in the same directories, but I'd 
> > > like input from the other developers before I start splattering the 
> > > place with unit tests :) Guys...? 
> > 
> > I really don't like confusing the implementation class and the test 
> > class.  I would much prefer using Ant to merge the test and the Cocoon 
> > directories for compilation--Just don't mix the test classes and the 
> > Cocoon classes. 
>  
> I support this oppinion. I don't like putting the test classes together  
> with the implementation ones, too.  

Looks like prevailing preference is to keep them separate.

Stuart.


-------------------------------------------------------------------------
Stuart Roebuck                                  stuart.roebuck@adolos.com
Lead Developer                               Java, XML, MacOS X, XP, etc.
ADOLOS                                             http://www.adolos.com/
Mime
View raw message