Formal translation of YAWL workflow models to the Alloy formal specifications: a testing application

Mirian-Hosseinabadi, Seyed-Hassan
DOI: https://doi.org/10.1007/s10270-022-01043-8
2022-11-02
Abstract:Within microservice architecture-based systems, some microservices are integrated to build the software. The integration of these services may be defined based on a workflow model. There are also a variety of different languages available for defining these workflow models. BPMN and YAWL are two such options. It is important that testers test the integration of these microservices. This paper proposes the formal method as the solution for integration testing. This method translates the workflow model to the Alloy. The algorithm has suggested a translation of workflow models to formal specifications. This specification takes into consideration both structural and behavioral aspects. The first perspective is about general structures, while the second is about the behavior of the objects in a specific model. We have proved the correctness of the suggested specifications. For this purpose, the paper has shown that formal definitions are sound and are complete with nine theorems for these properties. The translation from YAWL to Alloy is defined based on their BNF grammar. The generated model is an appropriate source for different purposes containing software testing. The suggested method for software testing is model-driven testing. Logical predicates define the structure of Alloy models. This method uses these logical predicates for generating tests. The test method has used RACC coverage as an example criterion. Alloy Analyzer tests the model by generating test predicates.
computer science, software engineering
What problem does this paper attempt to address?