Personal tools
You are here: Home MapServer 5.0 MapServer 5.0 QA Test Cases
Document Actions

MapServer 5.0 QA Test Cases

by Normand Savard last modified 2007-07-23 10:53

This page contains a test description or test cases for each group of features.

Build

Does MapServer compile on your platform?

mapserv

Does the mapserv CGI work? See the CGI reference

A simple test could be:

http://url/to/cgi-bin/mapserv?map=/path/to/file.map&mode=map

Py-Tests

Does the Python test suite pass?

The Python unit tests are automated tests and cover mostly the Python mapscript module. To install the test simply do "python setup.py build" and to execute the tests "python tests/runtests.py -v".

msautotest

Does the msautotest suite pass?

The msautotest are functional automated tests. They cover the following parts of MapServer:

  • wxs:
  • WFS:
  • GetCapabilities
  • DescribeFeatureType GML2 app schema
  • DescribeFeatureType GML3L0 app schema
  • GetFeature GML2
  • GetFeature GML3L0
  • Filter: spatial GEOS operator (BBOX, INTERSECTS, DWITHIN, BEYOND, EQUALS, OVERLAPS, WITHIN, CONTAINS,CROSSES, TOUCHES, DISJOINT) (bug 2105) and litteral operators (PropertyIsEqualTo, PropertyIsNotEqualTo, PropertyIsLessThan, PropertyIsGreaterThan, PropertyIsLessThanOrEqualTo, PropertyIsGreaterThanOrEqualTo, PropertyIsBetween, PropertyIsLike, OR, AND, NOT)
  • WCS:
  • GetCapabilities
  • DescribeCoverage
  • GetCoverage (output GeoTIFF, PNG and with resampling)
  • WMS:
  • GetCapabilities
  • DescribeLayer
  • GetMap
  • GetFeatureInfo HTML format on vector data
  • GetFeatureInfo GML format on vector data
  • GetFeatureInfo HTML format on raster data
  • GetFeatureInfo GML format on raster data
  • GetLegendGraphic
  • GetStyles
  • SLD
  • Time support
  • mspython: WKT conversion with OGR or GEOS
  • misc: scalebar, autostyling, grid, label, legend, OGR, RFC5, RFC14, Dynamic Charting Capability (RFC29) to do, OGR, etc
  • gdal: test the gdal lib

script

Write down which scripting language you tested (PHP, Python, Perl, Java, CSharp, Ruby)

A simple test case for PHP mapscript could be to load the gmap application.

utils

Command-line utilities (shp2img, tile4ms, msencrypt, etc. See the utility programs reference)

GDAL

GDAL raster data acces

Add your test cases for GDAL. See the GDAL reference.

OGR

OGR vector data access

Add your test cases for OGR See the OGR reference.

Postgis

Postgis data access

Does your map file that uses a Postgis connection still display correctly with MapServer?

Add your test cases for Postgis See the vector data access reference

SDE

ESRI SDE data access

Add your test cases for SDE See vector data access

OCI

Oracle Spatial data access

Add your test cases for OCI See vector data access

Label

Add your test cases for label priority (RFC27)

AGG

Add your test cases for the additional rendering engine (RFC32).

Chart

Add your test cases for the Dynamic Charting Capability (RFC29)

Redesign of LOG/DEBUG output mechanisms (RFC28)

Add your test cases for the redesign of LOG/DEBUG output mechanisms (RFC28)

Spatial GEOS operator (bug 2105)

Add your test cases for the Spatial GEOS operator (bug 2105)

The following spatial operators have been added to GEOS: BBOX, INTERSECTS, DWITHIN, BEYOND, EQUALS, OVERLAPS, WITHIN, CONTAINS,CROSSES, TOUCHES, DISJOINT. The msautotest already have some tests on each one of these operators but it could be good to add your own tests.

 

Powered by Plone