Gabriel Roldán ha scritto:
> On Thursday 10 April 2008 11:45:26 am Andrea Aime wrote:
>> Gabriel Roldán ha scritto:
>>> Heck, doesn't the OneTimeTestDecorator allows for just what we want? (non
>>> static oneTimeSetUp and oneTimeTearDown):
>>> <http://www.jroller.com/aalmiray/entry/junit_enabling_one_time_setup>
>> I looked at it, but I did not get how to use it. First, I can't seem
>> to find the OneTimeTestDecorator class at all.
> <http://sourceforge.net/projects/junit-addons>

Ah, thank you.

>> Second, the suite() method is static, meaning it would have to be
>> repeated for each single unit test class.
> right. Is that so bad? I mean, smells less hacky.
> Yet I wonder what happens when you want to run a single test case from inside 
> eclipse, for example... won't work.
> We can go the template way so

Well, having to remember doing that is messy, since there is nothing
enforcing you to add that static method. The framework approach, based 
on junit4, seems a cleaner way.

Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to