Skip to main content
QUICK REVIEW

[Paper Review] Filling the Gap between Business Process Modeling and Behavior Driven Development

Rogério Atem de Carvalho, Rodrigo Soares Manhães|arXiv (Cornell University)|May 27, 2010
Business Process Modeling and AnalysisBusiness, Management and Accounting7 references9 citations
TL;DR

This paper proposes integrating Business Process Modeling (BPM) with Behavior Driven Development (BDD) by using UML Statechart diagrams—specifically finite state machines (FSM)—to model business processes and automatically generate BDD tests. The approach bridges the gap between high-level process models and executable specifications, improving traceability and quality in enterprise information systems development.

ABSTRACT

Behavior Driven Development (NORTH, 2006) is a specification technique that is growing in acceptance in the Agile methods communities. BDD allows to securely verify that all functional requirements were treated properly by source code, by connecting the textual description of these requirements to tests. On the other side, the Enterprise Information Systems (EIS) researchers and practitioners defends the use of Business Process Modeling (BPM) to, before defining any part of the system, perform the modeling of the system's underlying business process. Therefore, it can be stated that, in the case of EIS, functional requirements are obtained by identifying Use Cases from the business process models. The aim of this paper is, in a narrower perspective, to propose the use of Finite State Machines (FSM) to model business process and then connect them to the BDD machinery, thus driving better quality for EIS. In a broader perspective, this article aims to provoke a discussion on the mapping of the various BPM notations, since there isn't a real standard for business process modeling (Moller et al., 2007), to BDD. Firstly a historical perspective of the evolution of previous proposals from which this one emerged will be presented, and then the reasons to change from Model Driven Development (MDD) to BDD will be presented also in a historical perspective. Finally the proposal of using FSM, specifically by using UML Statechart diagrams, will be presented, followed by some conclusions.

Motivation & Objective

  • Address the disconnect between business process modeling in Enterprise Information Systems (EIS) and executable testing in Agile development.
  • Overcome the lack of standardization in BPM notations by proposing a formal mapping to BDD.
  • Improve software quality by linking business process models directly to testable behavior specifications.
  • Replace Model-Driven Development (MDD) with BDD for better testability and developer alignment.
  • Establish a formal, executable link between business process models and software behavior through FSMs.

Proposed method

  • Model business processes using UML Statechart diagrams as a formal representation of finite state machines (FSM).
  • Map the states and transitions in Statecharts to BDD-style scenarios using natural language descriptions.
  • Automatically generate BDD test cases from the state machine model using predefined transformation rules.
  • Use the BDD framework to execute tests and verify that the implementation satisfies modeled business behavior.
  • Leverage the textual specification capabilities of BDD to ensure alignment between business requirements and code.
  • Introduce a historical perspective on the evolution from MDD to BDD, justifying the shift toward behavior-centric development.

Experimental results

Research questions

  • RQ1How can business process models be formally mapped to executable BDD specifications?
  • RQ2What are the limitations of existing BPM notations in supporting automated testing and verification?
  • RQ3In what ways does using FSMs in the form of UML Statecharts improve traceability between business processes and software behavior?
  • RQ4How does replacing MDD with BDD enhance the quality and maintainability of enterprise software systems?
  • RQ5What transformation patterns are required to convert state machine models into BDD test cases?

Key findings

  • The use of UML Statecharts enables a precise and formal representation of business processes suitable for automated test generation.
  • Mapping FSMs to BDD allows for the automatic derivation of executable test cases from business process models.
  • The proposed approach improves traceability between business requirements and implementation, reducing specification gaps.
  • The transition from MDD to BDD enhances developer engagement and test coverage through human-readable, behavior-focused specifications.
  • The method provides a practical pathway to unify business process modeling and test-driven development in enterprise systems.
  • The lack of standardization in BPM notations is mitigated by using a well-defined formalism (FSM via UML Statecharts) as a common foundation for BDD integration.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.