Valid but Not Always Runnable: An Open, Reproducible Benchmark of Large Language Models Drafting Gherkin Scenarios

Behaviour-Driven Development (BDD) encodes acceptance criteria in Gherkin, but hand-authoring is laborious, and it is unclear which large language model (LLM) drafts it best. We benchmark eight LLMs generating Gherkin from three requirement corpora (requirement lists, user stories, RFP excerpts) over 2960 generations, scoring validity, runner acceptance, judged coverage and quality, similarity to gold standard, stability, and cost. Validity is near the ceiling, yet only 78% of outputs load in the Cucumber runner: a fifth emits several Feature blocks per file. Two student annotators (a small, non-expert panel) calibrate the judge on 72 blinded generations. Human score levels are matched (error 0.33 versus 0.35 between the humans) but outputs are ordered far less reliably (ICC 0.47 versus 0.64; coverage 0.21 versus 0.76): magnitudes hold, but fine rankings do not. Against that gold standard, models span 66–107% of the human–human ceiling, ordering differently again. Pareto analysis leaves three of eight models non-dominated: cost varies 157×, judged quality 0.36 points. Per-model prompt tuning yields no cross-validated gain; a restrictive token budget truncates verbose models. Two newer models displace the low-cost front: tier-level findings transfer, and model names are dated quickly. We release the corpora, gold standard, and prototype. Model choice should weigh cost and runner acceptance over judged quality.

Link
https://doi.org/10.3390/ai7090359
Found by
Crossref
Authors
Patrick Deininger, Wolfgang Slany
Organizations
Institute of Software Engineering and Artificial Intelligence, Graz University of Technology, 8010 Graz, Austria, Institute of Computer Science and Artificial Intelligence, FH JOANNEUM—University of Applied Sciences, 8020 Graz, Austria, FH JOANNEUM University of Applied Sciences, Graz University of Technology
Categories
benchmark, dataset
Published
2026-09-11
Last seen by the radar
2026-09-13
Citations
0
Radar score
35.50 / 100 (how it is scored)
Why it scored so
Also found via OpenAlex; Matched: benchmark, corpora$; Primary record: Crossref
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Crossref