Skip to content
Tools for running OGC CITE tests against GeoServer
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cite1 @ b5c3a1b initial commit Jun 9, 2012
engine @ e4dda71
forms adding support for running headless Jun 9, 2012
sessions
tests @ 0c68ccb reinitialzing tests submodule Jun 12, 2012
.gitignore
.gitmodules reinitialzing tests submodule Jun 12, 2012
README.md
build.xml adding support for running headless Jun 9, 2012
engine.build.properties initial commit Jun 9, 2012
pom.xml changing script location back to default Jun 12, 2012

README.md

GeoServer CITE Tools

Requirements

  • git
  • maven
  • ant

Building the Tools

  1. Clone the geoserver-cite-tools repository:

     % git clone git://github.com/jdeolive/geoserver-cite-tools.git 
    
  2. Update/initialize submodules:

     % git submodule update --init
    
  3. Build the tools with maven:

     % mvn install
    

Testing from Command Line

The build.xml file is used to perform test runs. Run ant with no arguments to show information about available targets:

% ant 
usage:
 [echo] 
 [echo] Targets:
 [echo] 
 [echo]  wfs-1.0        --> Run WFS 1.0 tests
 [echo]  wfs-1.0-log    --> View WFS 1.0 test log
 [echo]  wfs-1.1        --> Run WFS 1.1 tests
 [echo]  wfs-1.1-log    --> View WFS 1.1 test log
 [echo]  wms-1.1        --> Run WMS 1.1 tests
 [echo]  wms-1.1-log    --> View WMS 1.1 test log
 [echo]  wms-1.3        --> Run WMS 1.3 tests
 [echo]  wms-1.3-log    --> View WMS 1.3 test log
 [echo]  wcs-1.0        --> Run WCS 1.0 tests
 [echo]  wcs-1.0-log    --> View WCS 1.0 test log
 [echo]  wcs-1.1        --> Run WCS 1.1 tests
 [echo]  wcs-1.1-log    --> View WCS 1.1 test log
 [echo]  clean          --> Cleans results from previous test runs
 [echo]  webapp         --> Runs teamengine web application

To perform a test run execute the ant command passing it the service to test. For example to test the WFS 1.0 service:

ant wfs-1.0

To view the log of a test run execute the ant command passing it the service name suffixed with "-log". For example, to view the WFS 1.0 logs:

ant wfs-1.0-log

To clean results from previous test runs run the command:

ant clean

Testing from the Web Application

TEAMEngine comes with a web application that can be used to execute tests and view test results. To run the teamengine web application:

ant webapp

By default the engine is available at http://localhost:9090/teamengine. To change the webapp port edit the file engine/pom.xml.

You can’t perform that action at this time.