On Tuesday Camunda Community Meeting took place at Holisticon and Jan Galinski and me were talking about
“Test-driven business process modelling with camunda BPM”. Round about 30 participants from consulting, customers and managers were taking part in the session, followed by half an hour of questions and answers. In the end we continued the discussion in even more relaxed athmosphere with beer an chips.

BPM/SOA projects are long running activities denoted by high complexity of requirements, which have to be communicated between the business, organization development and IT departments. The business process models are the core artifact: they serve as a foundation for communication, form a skeleton of the further business and software architecture and are executed by BPM-engines for the process automation. In order to enable the incremental and iterative development of the business process models methods and tools have to be invented, in order to guarantee the fulfillment of process quality and correctness. This talk demonstrates how to develop acceptance test for the BPMN 2.0 models involving the business department. The resulting tests are used for verification of the business process models first, but can be reused during the software development and integration and finally serve as a basis for creation of end-to-end integration test suites used for acceptance and regression. The clou: the tests are written in plain natural language and document the process and its attributes. Therefor they can be easily understood and even specified by the business departments.
What happens in 20 minutes: Starting with a prepared process model and some pre-defined test scenarios we demonstrate the principle of the behavior tests. Then we change the business requirement and simulate a test failure, so the process has to be adjusted, until the failure is gone.

Here are the slides (in German).

Testgetriebene Geschäftsprozessmodellierung Theorie from Simon Zambrovski on Vimeo.

Testgetriebene Geschäftsprozessmodellierung – Livedemo from Jan Galinski on Vimeo.