STAF 2025
Tue 10 - Fri 13 June 2025 Koblenz, Germany
Tue 10 Jun 2025 13:30 - 14:00 at M 001 - ECMFA Session 2: Testing Chair(s): Dominik Bork

Domain-specific languages (DSLs) express requirements or designs, often through visual abstractions. To be effective and reliable for complex development tasks such as code generation, testing and analysis, DSLs need semantic foundations. This paper introduces a model-based framework for testing and analysis based on operational semantics for DSLs expressed through graph rewriting.

Dynamic role-based access control models (RBACMs) express constraints on who can access which resources under a dynamic notion of role membership. In particular, access control policies for smart contracts involve multiple parties that are members of different groups or organisations. Such policies combine complex logical and dynamic constraints, and are hard to design, understand, validate and test at code level.

We apply our framework to a DSL for multi-party role-based access control policies which is defined as an extension of the {it iContractML} 2.0 metamodel. The diagrammatic notation supports complex authorisation patterns, including alternatives and multiplicities, to address the nuanced access control requirements of smart contract applications. Defining the operational semantics for RBACMs as a graph rewriting model, we let the Groove model checker produce traces for actions where access is granted or denied to generate tests for smart contracts in the Digital Asset Modelling Language (DAML).

We use an extended model to validate dynamic access control scenarios generated by ChatGPT. Such scenarios represent business workflows interleaved with operations to add or remove role members. They are expressed as Groove control programs to be verified by its model checker, for use as test cases or advising users at runtime.

Tue 10 Jun

Displayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change

13:30 - 15:00
ECMFA Session 2: TestingECMFA at M 001
Chair(s): Dominik Bork TU Wien, Vienna, Austria
13:30
30m
Talk
Dynamic Role-Based Access Control Scenarios for Smart Contracts: Graph Rewriting for Testing Domain-specific Models
ECMFA
Issam Al-Azzoni Al Ain University of Science, United Arab Emirates, Reiko Heckel University of Leicester, Zobia Erum Birmingham City University
Link to publication DOI
14:00
30m
Talk
Introducing automated testing to video game development via Behaviour-Driven Development
ECMFA
Michael Mulder University of Twente, Petra van den Bos University of Twente, The Netherlands
Link to publication DOI
14:30
30m
Talk
Online Model-Based Testing Reusing Multiple Design Models in an Industrial Setting
ECMFA
Mathijs Schuts TNO-ESI, Jozef Hooman TNO-ESI, Ivan Kurtev Eindhoven University of Technology, Issam Tlili Philips, Erik Oerlemans Philips
Link to publication DOI
:
:
:
: