Title
Makina: a new QuickCheck state machine library
Abstract
ABSTRACTThis 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 defining 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. Moreover, to promote model reuse, the domain specific language provides constructs to permit models to be defined in terms of collections of previously defined models.
Year
DOI
Venue
2021
10.1145/3471871.3472964
ICFP
Keywords
DocType
Citations 
Property-based Testing, State machines, Elixir
Conference
0
PageRank 
References 
Authors
0.34
0
5