Justin Deoliveira wrote:
> The idea of a datastore compliance test has been kicking around for some
> time now. The idea is to create an abstract test case which tests all
> aspects of the datastore api, and then subclass for each data store.
>
> Jody implemented such a test for memory data store some time back. I
> ported the test to postgis and it cleared up a lot of bugs.
>
> As part of a recent experiment I have created such a test case, and have
> three implementations: postgis, shapefile, and property.
>
> I would like to create a new module, lets call it "cite", and put all
> the tests in there. My rational for the new module is that the tests are
> less likey to get kicked out of the build as somoene is developing in a
> module.
>   
To make this open ended we should allow a FactorySPI to define a 
CITEFactory that returns a datastore with the correctly
set up data set for the tests.  This way the construction of the test 
data set would be close to the datastore being tested, and the CITE tests
would be open ended for DB2 and Oracle to pass as the module maintainers 
have ability.
> Also having the tests in a single module gives us a quick way to tell
> which modules are not compliant.
>
> What do people think?
>   
Sweet! I love it. Can we add memory data store to your list please?
Cheers,
Jody


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to