BPEL-unit: JUnit for BPEL processes

  • Authors:
  • Zhong Jie Li;Wei Sun

  • Affiliations:
  • IBM China Research Lab, Beijing, China;IBM China Research Lab, Beijing, China

  • Venue:
  • ICSOC'06 Proceedings of the 4th international conference on Service-Oriented Computing
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

Thanks to unit test frameworks such as JUnit, unit testing has become a common practice in object-oriented software development. However, its application in business process programming is far from prevalent. Business process unit testing treats an individual process as the unit under test, and tests its internal logic thoroughly by isolating it from the partner processes. This types of testing cannot be done by current web service testing technologies that are black-box based. This paper proposes an approach to unit testing of Business Process Execution Language for Web services (BPEL4WS, or WS-BPEL as the new name), and introduces a tool prototype named BPEL-Unit, which extends JUnit. The key idea of this approach is to transform process interaction via web service invocations to class collaboration via method calls, and then apply object-oriented test frameworks. BPEL-Unit provides the following advantages: allow developers simulate partner processes easily, simplify test case writing, speed test case execution, and enable automatic regression testing. With BPEL-Unit, BPEL process unit testing can be performed in a standardized, unified and efficient way.