This repository has been archived by the owner on Aug 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
ServiceIntegrationTestMojo
Andreas Schmitz edited this page Jan 7, 2013
·
1 revision
This mojo can be used to automatically test a .war
project. If there's a deegree workspace included, it is scanned for configured services, which
are then tested automatically (within limits). It's also possible to predefine requests and expected responses, which are then being tested as well.
The following configuration options are available:
-
testCapabilities
: see if aGetCapabilities
request against each configured service yields an exception (default is true) -
testLayers
: if a service namedwms
is configured, see if all advertised layers can be requested without exception (default is true) -
testRequests
: do request testing withsrc/test/requests/$file.{kvp,response}
orsrc/test/requests/$file.{xml,response}
pairs (default is true) -
workspace
: workspace directory, default is${project.basedir}/src/main/webapp/WEB-INF/workspace/
Default phase is integration-test
. Currently not in use by deegree.
<plugin>
<groupId>org.deegree</groupId>
<artifactId>deegree-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>test-services</goal>
</goals>
</execution>
</executions>
</plugin>