An Abstract Framework for Choreographic Testing
This addresses testing challenges in distributed systems, but it appears incremental as it builds on existing projection operations.
The authors tackled the problem of testing message-passing systems by developing a model-driven framework that formalizes distributed tests for choreographies and generates them as projections of global views, demonstrating correctness and validation through an example.
We initiate the development of a model-driven testing framework for message-passing systems. The notion of test for communicating systems cannot simply be borrowed from existing proposals. Therefore, we formalize a notion of suitable distributed tests for a given choreography and devise an algorithm that generates tests as projections of global views. Our algorithm abstracts away from the actual projection operation, for which we only set basic requirements. The algorithm can be instantiated by reusing existing projection operations (designed to generate local implementations of global models) as they satisfy our requirements. Finally, we show the correctness of the approach and validate our methodology via an illustrative example.