ActiveVOS Designer User’s Guide

What is BPEL Unit Testing?

BPEL unit (b-unit) testing is a framework that tests BPEL processes in the ActiveVOS engine. B-unit testing validates process execution of invokes, receives, and replies. You can use B-unit testing to perform automated regression tests on processes.

When a BUnit test runs, the following steps occur:

An effective test is to compare entire chunks of XML to see the parts that don’t match.

You can create individual b-unit test cases manually, but it is recommended that you can save each simulation path you run as a b-unit test file. You can then rerun files as needed as you refactor your process. Readily available b-unit tests make it easy for you to check whether a component of your process is still working properly.

You can design unit tests to produce test cases that cover all paths through a process so you can test various scenarios.You can save a group of files into a suite, or suite of suites, to rerun.

For details, see: