Software AG Products 10.7 | Unit Test Framework | Code Coverage Analysis | Running a Coverage Analysis
 
Running a Coverage Analysis
Unit Test Framework allows you to record and analyze which flow steps and map actions of your flow service(s) are executed during a particular test launch. It helps to identify untested steps and improve the corresponding tests.
Pre-requisites:
Before running the test coverage analysis, ensure that you activate the wM Code Coverage Agent. To activate the wM Code Coverage Agent, perform one of the following steps:
*On the Package Navigator right-click the default Integration Server instance and select wM Code Coverage Agent > Activate.
OR
1. In Designer, navigate to Window > Preferences > Software AG > Integration Server and select the default server.
2. Click wM Code Coverage Agent.
3. On the wM Code Coverage Agent Settings dialog, select Activate.
*To run a test coverage analysis
1. In the webMethods Tests section, right click and select wM Code Coverage Tools.
2. Select one of the following:
*Run Suite: executes the selected test suite.
*Run Suite with Mocks disabled: executes the selected test suite with Mocks disabled.
*Run Tests: executes the selected test case.
*Run Tests with Mocks disabled: executes the selected test case with Mocks disabled.
The test or suite coverage analysis appear as a graphical data under the wM Code Coverage view.