public class TestNGController extends Object implements com.occamlab.te.spi.jaxrs.TestSuiteController
| Constructor and Description |
|---|
TestNGController()
Default constructor uses the location given by the "user.home" system property as the root output directory.
|
TestNGController(String outputDir)
Construct a controller that writes results to the given output directory.
|
| Modifier and Type | Method and Description |
|---|---|
Source |
doTestRun(Document testRunArgs) |
String |
getCode() |
String |
getTitle() |
String |
getVersion() |
static void |
main(String[] args)
A convenience method for running the test suite using a command-line interface.
|
(package private) void |
validateTestRunArgs(Document testRunArgs)
Validates the test run arguments.
|
public TestNGController()
public TestNGController(String outputDir)
outputDir - The location of the directory in which test results will be written; it will be created if it does not
exist.public static void main(String[] args) throws Exception
Synopsis
ets-*-aio.jar [-o|--outputDir $TMPDIR] [test-run-props.xml]
args - Test run arguments (optional).Exception - If the test run cannot be executed (usually due to unsatisfied pre-conditions).public String getCode()
getCode in interface com.occamlab.te.spi.jaxrs.TestSuiteControllerpublic String getVersion()
getVersion in interface com.occamlab.te.spi.jaxrs.TestSuiteControllerpublic String getTitle()
getTitle in interface com.occamlab.te.spi.jaxrs.TestSuiteControllerpublic Source doTestRun(Document testRunArgs) throws Exception
doTestRun in interface com.occamlab.te.spi.jaxrs.TestSuiteControllerExceptionvoid validateTestRunArgs(Document testRunArgs)
testRunArgs - A DOM Document containing a set of XML properties (key-value pairs).IllegalArgumentException - If any arguments are missing or invalid for some reason.Copyright © 2018 Open Geospatial Consortium. All rights reserved.