Testing goalsWKB4J's are focused on three area: functionnality, performance and robustness.
The performance tests checks the speed of the whole workflow, so a PostGIS DB is necessary. The functionnal tests also pulls data from the DB, but I'm planning to distribute test objects containing both the WKB and the WKT version of the record. Thus you would be able to test that this aspect without a DB. RunningIn order to run the test, you should follow this process:
Test DatasetsAll the datasets used to test WKB4J are available on the website, in the file release system . They are all in the public domain and freely distributable. If you think that one of them isn't in the public domain, please drop me an email. These datasets tries to cover all the features of WKB4J. However, if you have a shapefil e that does not work with WKB4J, I would really like to hear about it so WKB4J can be fixed.
I would like to thanks the people that release good datasets in the Public Domain, and especially the ones that decided that data produced by the American Governement would be released as such. Other countries should follow suits: it spurs a huge amount of innovation. Using the Test databasesA few steps are required before you can use the test data. Creating the database (in all cases you will need write access to the database):
|