# Gherkin

12 Hacker News commenters recommended Gherkin and 2 criticized it, November 2025 to November 2026. It was recommended in 5 of 13 months. It meets the Hacker Approved badge rule.

**Verdict:** Plain-English specs that double as executable tests, which people find clear for working with LLMs. Main caveat: hard to trace rules to code.

## Why people recommend it

- Plain English specs run as tests (3 comments): "The nice thing about writing acceptance criteria this way is that they become executable and analyzable." ([source](https://news.ycombinator.com/item?id=47995345)) "It works very well because they are both a description of the application and actual executable tests" ([source](https://news.ycombinator.com/item?id=49381184)) "check out cucumber / gherkin - very old school regex-to-code plain english kind of system" ([source](https://news.ycombinator.com/item?id=47328306))
- Clear for working with LLMs (3 comments): "Very neat, seems quite appropriate for the way people currently work with LLMs." ([source](https://news.ycombinator.com/item?id=50313889)) "I really like gherkin for agentic engineering, it's very clarifying." ([source](https://news.ycombinator.com/item?id=48416351)) "I really like gherkin for agentic engineering, it's very clarifying" ([source](https://news.ycombinator.com/item?id=48416953))
- Good syntax for describing behavior (3 comments): "I feel Gherkin syntax is best form to describe the behavior." ([source](https://news.ycombinator.com/item?id=49398841)) "I prefer that to the 'verbose' original syntax." ([source](https://news.ycombinator.com/item?id=47995473)) "Gherkin is kind of nice though." ([source](https://news.ycombinator.com/item?id=47436786))
- Works well in practice (2 comments): "That works great in practice" ([source](https://news.ycombinator.com/item?id=47355203)) "Been doing wonders for me." ([source](https://news.ycombinator.com/item?id=50245625))

## What people warn about

- Hard to trace rules to code (1 comments): "It works reasonably well, but without a direct source map from the rules to the code, you still end up with a very difficult-to-understand codebase." ([source](https://news.ycombinator.com/item?id=49380043))

## Cite as

Hacker Approved, "Gherkin", https://hackerapproved.com/p/gherkin/ (counts from 1,795,640 Hacker News comments, November 2025 to November 2026).
