Test harness for the Validation PDK

Being able to test validation code without putting it into Unica Campaign speeds up the plug-in Developer's process.

Customers who use extreme programming and other agile methodologies use unit testing extensively. The Validation PDK supports these methodologies by offering a test harness for running a plug-in outside of Unica Campaign.

To use the test harness:
  1. Alter the unit test case to reflect the validation logic in the plug-in.
  2. Run the build script:
    • To create the plug-in without doing any unit tests, run the build scripts using the "ant jar" command.
    • To create the plug-in and also do unit testing, run the build scripts using the "ant run-test" command.