Unit Test Framework : Generating Test Suites using Service Execution Results : Generating Test Suites using Service Execution Results
Generating Test Suites using Service Execution Results
Test Suite allows you to generate tests from the details of recently run services present in the Result view. Using the Generate Test icon on the Results view, you can export the available service invoke or run details to form a unit test and save in a Test Suite.
Ensure that you have installed the Test Suite Designer plugin.
1. In the Service Development perspective, navigate to the Results view of recently run services and select the service for which you want to generate a test.
Note:  
For details on viewing the Results view, see the Software AG Designer Online Help.
2. Click .
3. In the Export Pipeline dialog box, provide the following details and click Finish.
Type
Function
Container
Specifies the project or directory location of the Test Suite.
Ensure that you use an organizational structure that conforms to Integration Server package structure.
Ensure that the specified project exists in the workspace.
TestSuite
Specifies the name of the TestSuite file.
Use Overwrite to rebuilt the Test Suite. This overwrites the existing Test Suite.
Use Append to append to the existing Test Suite.
Note:  
Ensure that you provide the filename with the extension. For example, wmTestSuite.xml.
Input
Specifies the service input file location.
Note:  
You can choose to retain the default value.
Output
Specifies the expected output file location.
Note:  
You can choose to retain the default value.
The Test Suite is created at the specified location.
4. Double click the newly created Test Suite.
The test details are displayed. You can edit the test details. To edit the test details, see .
Copyright © 2017 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback