Observations and Measurements (OM)

Describe purpose of test suite.

License

License

GroupId

GroupId

org.opengis.cite
ArtifactId

ArtifactId

ets-om20
Last Version

Last Version

0.4
Release Date

Release Date

Type

Type

jar
Description

Description

Observations and Measurements (OM)
Describe purpose of test suite.
Project Organization

Project Organization

Open Geospatial Consortium
Source Code Management

Source Code Management

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

Download ets-om20

How to add to project

<!-- https://jarcasting.com/artifacts/org.opengis.cite/ets-om20/ -->
<dependency>
    <groupId>org.opengis.cite</groupId>
    <artifactId>ets-om20</artifactId>
    <version>0.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.opengis.cite/ets-om20/
implementation 'org.opengis.cite:ets-om20:0.4'
// https://jarcasting.com/artifacts/org.opengis.cite/ets-om20/
implementation ("org.opengis.cite:ets-om20:0.4")
'org.opengis.cite:ets-om20:jar:0.4'
<dependency org="org.opengis.cite" name="ets-om20" rev="0.4">
  <artifact name="ets-om20" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.opengis.cite', module='ets-om20', version='0.4')
)
libraryDependencies += "org.opengis.cite" % "ets-om20" % "0.4"
[org.opengis.cite/ets-om20 "0.4"]

Dependencies

compile (6)

Group / Artifact Type Version
org.opengis.cite.teamengine : teamengine-spi jar 4.0.6
org.opengis.cite : schema-utils jar 1.5
com.sun.jersey : jersey-client jar 1.19
commons-io : commons-io jar 2.5
org.slf4j : slf4j-api jar 1.6.1
org.slf4j : slf4j-simple jar 1.6.1

test (3)

Group / Artifact Type Version
junit : junit jar 4.12
org.mockito : mockito-core jar 1.10.19
com.google.inject : guice jar 3.0

Project Modules

There are no modules declared in this project.

ets-omxml20

Scope

This test suite validates the XML instances of version 2.0 of the OGC Observations and Measurements - XML Implementation (OMXML) conceptual model.

Visit the project documentation website

How to run the test

1. via IDE (Eclipse, Netbeans, etc.)

Clone this project into the IDE. Set the instance location in the config file which located at the user home folder by default:

${user.home}/test-run-props.xml

You can modify the value of the "entry" element with the key "iut" to locate the testing instance, like:

<?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</comment>
  <!--Modify the instance location here-->
  <entry key="iut">https://raw.githubusercontent.com/opengeospatial/ets-omxml20/master/src/test/resources/CountObservation.xml</entry>
  <entry key="ics">1</entry>
</properties>

After the configuring, set the starting class to run as java application: org.opengis.cite.om20.TestNGController alt text

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

2. via console

Build the source code with Maven in the shell:

mvn package

Execute the build artifact under the target folder:

java -jar ets-omxml20-1.0-SNAPSHOT-aio.jar [-o|--outputDir $TMPDIR] [test-run-props.xml]

3. Docker

This test suite comes with a Dockerfile which can be used to easily setup the OGC test harness with the test suite. Details can be found on Create Docker Image and create and start Docker Container.

4. OGC test harness

Use TEAM Engine, the official OGC test harness.

Files Tested

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
org.opengis.cite

Open Geospatial Consortium

Versions

Version
0.4
0.3