<div class="gmail_quote">On Wed, Feb 22, 2012 at 5:12 AM, AbSharma <span dir="ltr"><<a href="mailto:kingpin1888@gmail.com">kingpin1888@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
<br>
I'm developing a GIS application using GeoServer, Openlayers, and SQL Server<br>
at the back-end. I tried to look for resources to write Automated Tests for<br>
functional testing of the application. I will describe an example scenario:<br></blockquote><div><br></div><div>OGC compliance suites are examples of functional tests, they assume the</div><div>server has a given data set ready to be served, make requests, check the</div>
<div>results for a set of conditions that must be met.</div><div><br></div><div>However, all the tests suites rely on tests that are not visual, the WMS one</div><div>is the only one that has a few visual tests and it actually asks the human</div>
<div>running the test to compare the images.</div><div><br></div><div>If you have exemplars of how a map should look like you can use</div><div>pdiff (perceptual diff) to compare the expected image with the one actually</div>
<div>returned. I believe MapServer automated tests are done that way.</div><div><br></div><div>Cheers</div><div>Andrea</div></div><br clear="all"><div><br></div>-- <br>-------------------------------------------------------<br>
Ing. Andrea Aime<br>GeoSolutions S.A.S.<br>Tech lead<br><br>Via Poggio alle Viti 1187<br>55054  Massarosa (LU)<br>Italy<br><br>phone: +39 0584 962313<br>fax:      +39 0584 962313<br>mob:    +39 339 8844549<br><br><a href="http://www.geo-solutions.it" target="_blank">http://www.geo-solutions.it</a><br>
<a href="http://geo-solutions.blogspot.com/" target="_blank">http://geo-solutions.blogspot.com/</a><br><a href="http://www.youtube.com/user/GeoSolutionsIT" target="_blank">http://www.youtube.com/user/GeoSolutionsIT</a><br>
<a href="http://www.linkedin.com/in/andreaaime" target="_blank">http://www.linkedin.com/in/andreaaime</a><br><a href="http://twitter.com/geowolf" target="_blank">http://twitter.com/geowolf</a><br><br>-------------------------------------------------------<br>