Gabriel Roldán a écrit :
> It is about one time set up and tear down for unit tests for things such as 
> setting up a connection pool and the like, that I guess could be beneficial 
> for online tests at least.

We may have a simplier way. If we are allowed to switch to Java 5 on trunk, we 
could switch to JUnit 4 as well. Then we can have one time setup and teardown 
using @BeforeClass and @AfterClass annotations, e.g.:

    @BeforeClass
    public static myMethodPerformingOneTimeSetup();

I'm using JUnit 4 with Maven in an other project, and it work well.

        Martin

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to