Software AG Products 10.7 | Unit Test Framework | Executing Tests | Continuous Integration | Configuring a Test Suite Executor
 
Configuring a Test Suite Executor
Software AG Designer allows you to configure a Test Suite Executor project after you have successfully created it.
Perform the following steps to configure a sample Test Suite using the default files.
1. To initiate the tests, use the ant build file, run-composite-runner.xml and ant target, composite-runner-all-tests.
2. Modify the properties file, run-test-suites.properties to specify project locations and setting up target Integration Server definition.
3. Specify the following properties in the run-test-suites.properties file.
Name
Description
webMethods.integrationServer.name
Specifies the Integration Server host name.
For example: localhost, 127.0.0.1
webMethods.integrationServer.port
Specifies the Integration Server port.
For example: 5555
webMethods.integrationServer.userid
Specifies the Integration Server user name.
For example: Administrator, Developer
webMethods.integrationServer.password
Specifies the Integration Server user password.
For example: manage
webMethods.integrationServer.ssl
Specifies the Integration Server port uses SSL connection or normal.
For example: false or true
webMethods.home
Specifies the product installation location.
For example: C:\SoftwareAG
webMethods.test.setup.location
Specifies multiple project locations (absolute directory path) in
$AbsoluteProjectLocation1,\
$AbsoluteProjectLocation2,\
$AbsoluteProjectLocation3
format. In this case, a Test Suite Executor searches for all available and valid Test Suite files in these directories.
For example:
C:/SoftwareAG/IntegrationServer/instances/default/packages/SampleTestSuite,\,.
C:/_gitRepo/packages/SampleTestSuite1
It executes specific and multiple Test Suite files by specifying it in the following format:
$AbsoluteProjectLocation1;
$RelativeTestSuitePath1,\
$AbsoluteProjectLocation2;
$RelativeTestSuitePath2
For example :
C:/SoftwareAG/IntegrationServer/instances/default/packages/SampleTestSuite;resources/test/setup/wmTestSuite.xml,\
C:/_gitRepo/packages/SampleTestSuite1;resources/test/setup/wmTestSuite.xml
webMethods.test.setup.external.classpath.layout
Specifies the relative paths within the projects where the required classes or jar files are expected to be present in a Test Suite Executor project build-classpath. For example, when third-party libraries or Mockfactory classes are referred from the Tests, specify the locations where these are stored at, so that executor can load these dependencies during headless tests. Append the default comma separated list if required.
Default value:
resources/test/classes,resources/java/classes,resources/test/jars,resources/java/jars,resources/jars
webMethods.test.profile.result.location
Specifies the absolute directory location where the reports are stored.
For example:
C:/git_sources/GitRepo3/WmTestSuiteExecutor/test/reports/