DevOps Edition for Continuous Integration 10.5 | Unit Test Framework | Advanced Options | Comparators
 
Comparators
Comparator provides an extension that can be used to extend, enhance, or replace the standard comparison of expected output.
Each test suite can have its comparator that can be specified from the user interface.
Custom comparators are Java classes that implement the com.wm.ps.test.ResultsValidator interface.
Comparators also provide a mechanism to execute operations pre and post service execution. Using comparators you can build some basic functional testing capability. For example, if a service writes to a database table, a comparator can compare the results from the service and check the destination table to confirm the operation executed successfully. You can also specify filters while comparing.

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.