Unit Test Framework : Advanced Options : Custom Comparator
Custom Comparator
Custom 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.
Custom comparators also provide a mechanism to execute operations pre and post service execution. Using custom comparators you can build some basic functional testing capability. For example, if a service writes to a database table, a custom comparator can compare the results from the service and check the destination table to confirm the operation executed successfully.
Copyright © 2017 Software AG, Darmstadt, Germany. (Innovation Release)

Product LogoContact Support   |   Community   |   Feedback