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.
Chapter PDF
Similar content being viewed by others
Keywords
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.
References
Process Markup Languages, http://www.ebpml.org/status.htm
Li, Z.J., Sun, W., Jiang, Z.B., Zhang, X.: Bpel4ws unit testing: framework and implementation. In: ICWS 2005, July 11-15, vol. 1, pp. 103–110 (2005)
Test Driven Development, http://www.testdriven.com
WS-Unit. The Web Service Testing Tool, https://wsunit.dev.java.net/
ANTEater. Ant based functional testing, http://aft.sourceforge.net/
WebServiceTester, http://www.optimyz.com
SOAPtest, http://www.parasoft.com/soaptest
Mayer, P., Lubke, D.: Towards a BPEL unit testing framework. In: TAVWEB 2006, pp. 33–42 (2006)
JUnit, http://www.junit.org
MockObjects, http://www.mockobjects.com
EasyMock Projects, http://www.easymock.org/EasyMock12Java13Documentation.html
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Li, Z.J., Sun, W. (2006). BPEL-Unit: JUnit for BPEL Processes. In: Dan, A., Lamersdorf, W. (eds) Service-Oriented Computing – ICSOC 2006. ICSOC 2006. Lecture Notes in Computer Science, vol 4294. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11948148_34
Download citation
DOI: https://doi.org/10.1007/11948148_34
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-68147-2
Online ISBN: 978-3-540-68148-9
eBook Packages: Computer ScienceComputer Science (R0)