<link rel="stylesheet" href="styles.f3b1fba60ec7970c.css">

Resumen:
Makina: A New QuickCheck State Machine Library

Cargando...
Miniatura

Editor

Sistedes

Publicado en

Actas de las XXI Jornadas de Programación y Lenguajes (PROLE 2022)

Licencia Creative Commons

Excepto donde se indique lo contrario, la licencia de este ítem se describe como CC BY-NC-ND 4.0

Resumen

This article presents Makina, a new library and a domain specific language for writing property-based testing models for stateful programs. Models written in the new domain specific language are, using Elixir macros, rewritten into normal QuickCheck state machines. Our main goals with Makina are to facilitate the task of developing correct and maintainable models, and to encourage model reuse. To meet these goals, Makina provides a declarative syntax for defin- ing model states and model commands. In particular, Makina encourages the typing of specifications, and ensures through its rewrite rules that such type information can be used by, e.g., the Dialyzer tool, to effectively typecheck models. More- over, to promote model reuse, the domain specific language provides constructs to permit models to be defined in terms of collections of previously defined models.

Descripción

Acerca de Bueso de Barrio, Luis Eduardo

Citación

Bueso de Barrio, L. E., Fredlund, L., Herranz, A., Benac Earle, C., Mariño, J.: Makina: A New QuickCheck State Machine Library. In: Julián Iranzo, P. (ed.) Actas de las XXI Jornadas de Programación y Lenguajes (PROLE 2022). Sistedes (2022). https://hdl.handle.net/11705/PROLE/2022/010