DevOps Edition for Continuous Integration 10.5 | Unit Test Framework | Code Coverage Analysis | Defining the Coverage Scope
 
Defining the Coverage Scope
Unit Test Framework allows you to edit and redefine the scope of a test coverage session. To achieve this, you can edit an existing launch configuration or create one. You can select packages that you want to include under the coverage purview. Flow elements and services belonging to the selected packages determine the coverage percentage.
* To create a launch configuration
1. In the webMethods Tests section, right click and select wM Code Coverage Tools.
2. Click Code Coverage Launch Configurations....
3. On the Code Coverage Launch Configurations box, select wM Code Coverage and click to add a new launch configuration.
4. Enter a name in the Name field and a project name in Project field.
5. On the Test tab, enter the following information:
Field
Description
Project
Specifies the project name for..... You can click Browse... to select from the
Test Suite
Specifies the test suite path. You can click Search... to select from a list of valid test suite files in the specified Project.
Test Method
Optional. Specifies the test name. You can click Search... to fetch the list of tests from the specified test suite. If this field is left blank, all the tests are selected.
6. On the Project Filter tab, perform the following
Field
Description
Server Node
Specifies the server node name. You can select the Default server node to list all the available packages from the server.
Profiler Scope
Defines the scope of coverage analysis for the launch. You can select the required packages from the list.
7. Click wM Code Coverage Tools.
The coverage analysis appear as a graphical data under the wM Code Coverage view.

Copyright © 2017-2019 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.