[OSGeo-Discuss] Functional Testing of GIS applications (Automated Testing)
Andrea Aime
andrea.aime at geo-solutions.it
Sat Feb 25 09:35:25 PST 2012
On Wed, Feb 22, 2012 at 5:12 AM, AbSharma <kingpin1888 at gmail.com> 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
-------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/discuss/attachments/20120225/a8f009be/attachment-0002.html>
More information about the Discuss
mailing list