Re: [Geotools-devel] Proposal: support test fixtures that fail on failed connection [GEOT-1951]

2008-08-26 Thread Ben Caradoc-Davies
Andrea Aime wrote: > However, I'm not really sure it should be the developer to decide > whether the server is under his control. It's usually > only the maven user that knows. > Say I want to setup unit testing against ArcSDE. The developer > has full control over his own instance, he would like t

Re: [Geotools-devel] Proposal: support test fixtures that fail on failed connection [GEOT-1951]

2008-08-21 Thread Ben Caradoc-Davies
One remaining issue is whether we want to adopt a *FixtureTest convention, like *OnlineTest and *StressTest, to allow developers to recognise fixture tests and realise that they need to be enabled by providing a fixture configuration file. This opens up a larger discussion about whether the exi

[Geotools-devel] Proposal: support test fixtures that fail on failed connection [GEOT-1951]

2008-08-21 Thread Ben Caradoc-Davies
I propose that the patch attached to GEOT-1951 be adopted on 2.4.x and trunk: http://jira.codehaus.org/browse/GEOT-1951 The patch (for 2.4.x) refactors OnlineTestCase into OnlineTestCase (provides connection failure tolerance) and its superclass FixtureTestCase (provides fixture handling). This