PICKLES: a Natural Language Framework for Requirement Specification and Model-Based Testing
Mar\'ia Bel\'en Rodr\'iguez, Petra van den Bos

TL;DR
PICKLES is a natural language framework that integrates Model-Based Testing and Behavior-Driven Development to enable human-readable specifications and automated test generation from structured scenarios.
Contribution
It introduces PICKLES, a Gherkin-style language extension, with bi-directional translation to formal models and a method to generate comprehensive test cases.
Findings
Higher test coverage achieved compared to standard BDD.
Prototype successfully applied to an industrial traffic management system.
Enables automatic test derivation from human-readable specifications.
Abstract
This paper combines methods from the fields of Model-Based Testing (MBT) and Behaviour-Driven Development (BDD) to define a testing approach with human-readable specifications and test cases, as in BDD, while using the modelling techniques and automatic test generation algorithms from MBT. We introduce PICKLES, a Precise Input and Control-flow Keyword-based Language for tEst Scenarios; an extension of Gherkin-style BDD scenarios, specified in structured natural language. We provide a bi-directional translation from Pickles scenarios to formal models, where both specifications and tests are human-readable, and a method to obtain a so-called master model combining all translated scenarios. Standard MBT algorithms can then be applied to automatically derive test cases from it. We implement a prototype of the translation and composition steps, which we use on an industrial case study: a…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
