An open API service indexing awesome lists of open source software.

https://github.com/opengeospatial/ets-owc10


https://github.com/opengeospatial/ets-owc10

Last synced: 6 months ago
JSON representation

Awesome Lists containing this project

README

          

## OWS Context 1.0 Conformance Test Suite

### Scope

This test suite checks a representation of a context document for conformance
to the _OGC OWS Context Conceptual Model_ specification, version 1.0 (OGC 12-080r2).
A __context document__ specifies a fully configured service set which can be exchanged
among clients supporting the standard; it was created to allow a set of configured
information resources to be passed between applications primarily as a collection
of services.

A valid Atom ([RFC 4287](https://tools.ietf.org/html/rfc4287)) representation of a
context document must conform to the _OGC OWS Context Atom Encoding Standard_
([OGC 12-084r2](http://docs.opengeospatial.org/is/12-084r2/12-084r2.html)).
A context document is represented as an Atom feed (media type: application/atom+xml)
that contains various extension elements as described in OGC 12-084r2.

Visit the [project documentation website](http://opengeospatial.github.io/ets-owc10/)
for more information, including the API documentation.

### How to run the tests
There are several options for executing the test suite.

#### 1. OGC test harness

Use [TEAM Engine](https://github.com/opengeospatial/teamengine), the official OGC test harness.
The latest test suite release are usually available at the [beta testing facility](http://cite.opengeospatial.org/te2/).
You can also [build and deploy](https://github.com/opengeospatial/teamengine) the test
harness yourself and use a local installation.

#### 2. Integrated development environment (IDE)

Use a Java IDE such as Eclipse, NetBeans, or IntelliJ. Clone the repository and build the project.

Set the main class to run: `org.opengis.cite.owc10.TestNGController`

Arguments: The first argument must refer to an XML properties file containing the
required test run arguments. If not specified, the default location at `$
{user.home}/test-run-props.xml` will be used.

You can modify the sample file in `src/main/config/test-run-props.xml`

```xml

Test run arguments
http://schemas.opengis.net/owc/1.0/examples/sea_ice_extent_01.atom

```

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

#### 3. Command shell (console)

One of the build artifacts is an "all-in-one" JAR file that includes the test
suite and all of its dependencies; this makes it very easy to execute the test
suite in a command shell:

`java -jar ets-owc10-${version}-aio.jar [-o|--outputDir $TMPDIR] [test-run-props.xml]`

### How to contribute

If you would like to get involved, you can:

* [Report an issue](https://github.com/opengeospatial/ets-owc10/issues) such as a defect or
an enhancement request
* Help to resolve an [open issue](https://github.com/opengeospatial/ets-owc10/issues?q=is%3Aopen)
* 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 (don't forget to periodically rebase long-lived branches so
there are no extraneous conflicts)