geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Blewitt <>
Subject Re: Re[2]: [PATCH] [Testing]
Date Tue, 12 Aug 2003 08:14:30 GMT
> BS> I'm wondering if there's a need for two kinds of tests - unit and
> BS> spec. Of course, these two can be achieved in the same * 
> files
> BS> and separated simply by a comment line.
> I personally like the 'separate spec test' idea more, but I have to
> admit that a gut feeling exists that it will end up in the same files,
> and moreover without that comment line.

Is there no reason why we couldn't have separate source directories, 
rather than having them in the same directory as the class itself? That 
way we could have:


Plus it makes it a lot easier to build without test code, rather than 
relying on a naming convention. Don't know how easy it would be to 
integrate this into the maven build process, but since I've done it a 
few times with ant then it shouldn't be that difficult.


View raw message