Ben Caradoc-Davies ha scritto:
> I still have no responses. Any objections?

Sorry, meant to answer, got sidetracked by other stuff.

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 to use
FixtureTestCase then. But the continuous build admin has to
use a remote SDE instance he has no control over,
he would like to use OnlineTestCase then. Casting the decision
into code does not allow to satisfy both.

What about having just one class, OnlineTest, that reads from
the property file a flag (skip.on.failure=true), which allows
the end user to control what behaviour is the desired one,
fail fast, or skip and complain on logs?

Cheers
Andrea

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to