From: Andrea A. <aa...@op...> - 2007-12-22 09:40:06
|
Justin Deoliveira ha scritto: ... > About knowing wether the test should run or not... I think it would be > pretty easy to turn these tests off. We could add a method to the > "GeoServerTestData" base class called "isAvailble()", and if it returned > false skip tests. In the "live" case it would simply test if the data > directory set actually exists. Yeah, that's exactly where I'm loosing you. So far I've seen two ideas of live data dir: * the one I proposed, using a data dir available as a resource in the classpath. It's always there, but you may not have the external data stores to connect to * the one you propose, the release config, which again is always there (if you check out from the root at least) It seems to me the isAvailable method should be coded against the availability of datastores, not against the availability of data dirs. What am I missing? Cheers Andrea |