On Wed, Feb 22, 2012 at 5:12 AM, AbSharma <[email protected]> wrote:
> Hello, > > I'm developing a GIS application using GeoServer, Openlayers, and SQL > Server > at the back-end. I tried to look for resources to write Automated Tests for > functional testing of the application. I will describe an example scenario: > OGC compliance suites are examples of functional tests, they assume the server has a given data set ready to be served, make requests, check the results for a set of conditions that must be met. However, all the tests suites rely on tests that are not visual, the WMS one is the only one that has a few visual tests and it actually asks the human running the test to compare the images. If you have exemplars of how a map should look like you can use pdiff (perceptual diff) to compare the expected image with the one actually returned. I believe MapServer automated tests are done that way. Cheers Andrea -- ------------------------------------------------------- Ing. Andrea Aime GeoSolutions S.A.S. Tech lead Via Poggio alle Viti 1187 55054 Massarosa (LU) Italy phone: +39 0584 962313 fax: +39 0584 962313 mob: +39 339 8844549 http://www.geo-solutions.it http://geo-solutions.blogspot.com/ http://www.youtube.com/user/GeoSolutionsIT http://www.linkedin.com/in/andreaaime http://twitter.com/geowolf -------------------------------------------------------
_______________________________________________ Discuss mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/discuss
