Git Product home page Git Product logo

ets-wms13-dgiwg's Introduction

Test Suite for the DGIWG WMS Profile

This test suite verifies that a Web Map Service (WMS) component meets the requirements of the DGIWG WMS application profile, DGIWG-112. A conforming implementation must also satisfy the constraints of the Queryable WMS conformance class as defined in the base WMS 1.3 standard.

How to run the tests

Integrated development environment (IDE)

You can use a Java IDE such as Eclipse, NetBeans, or IntelliJ to run the test suite. Clone the repository and build the project. The runtime configuration is summarized below.

Main class: de.latlon.ets.wms13.dgiwg.WmsDgiwgTestNGController

Arguments: The first argument must refer to an XML properties file containing the required test run argument (a reference to a WMS 1.3 capabilities document). If not specified, the default location of the file at ${user.home}/test-run-props.xml will be used.

You can modify the default settings in the sample test-run-props.xml file, which is shown below. The value of the wms argument must be an absolute URI that conforms to the 'http' or 'file' schemes. The tes argument specifies the location of a service that provides a RESTful API for running the base WMS 1.3 test suite; by default the OGC teamengine installation--the 'beta' facility--will be used, but an alternative installation may be used instead (for example: http://localhost:8080/teamengine).

Test run arguments

Argument Description Default value
wms Location of WMS capabilities document
vector Are any layers derived from vector data? false
tes Endpoint for test execution service http://cite.opengeospatial.org/te2/
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE properties SYSTEM "http://java.sun.com/dtd/properties.dtd">
<properties version="1.0">
  <comment>Test run arguments (ets-dgiwg-wms13)</comment>
  <entry key="wms"></entry>
  <entry key="vector">false</entry>
  <entry key="tes">http://cite.opengeospatial.org/te2/</entry>
</properties>

The TestNG results file (testng-results.xml) will be written to a subdirectory in ${user.home}/testng/ having a UUID value as its name.

Command shell (terminal)

One of the build artifacts is an "all-in-one" JAR file that includes the test suite bundled together with all of its dependencies. This makes it very easy to execute the test suite in a command shell like so:

java -jar ets-dgiwg-wms-${version}-aio.jar [test-run-props.xml]

OGC test harness

Use TEAM Engine, the official OGC test harness. The latest test suite release should be available at the beta testing facility. You can also build and deploy the test harness yourself and use a local installation.

How to contribute

If you would like to get involved, you can:

  • Report an issue such as a defect or an enhancement request
  • Help to resolve an open issue
  • Fix a bug: Fork the repository, apply the fix, and create a pull request
  • Add new tests: Fork the repository, implement (and verify) the tests on a new topic branch, and create a pull request

ets-wms13-dgiwg's People

Contributors

rjmartell avatar dstenger avatar lgoltz avatar ghobona avatar dependabot[bot] avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.