webMethods Product Suite 10.3 | Hybrid Integration | Developing and Testing Integration Server Assets Locally | Unit Test Framework
 
Unit Test Framework
Software AG Designer provides a range of tools to assist during the testing and debugging phases of development. Unit Test Framework is a service unit and regression testing tool that enables service developers to quickly assemble unit tests and improve overall development quality without custom development. Unit Test Framework facilitates automated unit and regression testing of services, and provides a mechanism for creating automated tools for continuous integration and delivery. Unit Test Framework can integrate with JUnit, leveraging a standard unit testing framework that already works well with continuous integration tools. In addition, Unit Test Framework provides a Java API for advanced users to create JUnit test cases. You can automate build deployment and execution of Jenkins tasks from Unit Test Framework.
The following table explains the types of testing you can do in the Unit Test Framework perspective of Software AG Designer.
Testing
Description
Unit
Design, build, and execute unit test cases in the Software AG Designer Eclipse user interface. You can also execute test cases externally using Ant scripts. You can test Flow services with input values you specify manually, inspect the results, and investigate errors.
Mock
Simulate interaction with resources that are unavailable, or whose data is not consistent, for test purposes. Have a test case execute a mocked service using input values you specify, invoke an intermediary service instead of the mocked service, replace the output of the mocked service with a specified exception, or use a custom Java class to implement the mocked service.
Regression
Save test cases, along with their inputs and outputs, in XML files, and then rerun these reusable artifacts to make sure your latest changes do not re-introduce errors that were fixed in earlier versions.
Code coverage
Record and analyze which flow steps and map actions of your Flow services are executed during a particular test launch. Helps to identify untested steps and improve the corresponding tests.
Suite coverage, execution model, service coverage
Record and analyze which flow steps and map actions of your Flow services are executed during a particular test launch. Provides user-friendly reporting with coverage reports for suite coverage, execution model, and service coverage.

Copyright © 1998-2018 | 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.