# Cucumber

9 Hacker News commenters recommended Cucumber and 8 criticized it, November 2025 to November 2026. It was recommended in 7 of 13 months.

**Verdict:** Free BDD framework that runs plain-English Gherkin specs as tests, used for E2E suites and guiding AI agents. Critics say the Gherkin layer adds overhead.

## Why people recommend it

- Works well with LLMs and coding agents (2 comments): "Ive had good success using claude code with Cucumber" ([source](https://news.ycombinator.com/item?id=47644831)) "Cucumber works really well with LLMs." ([source](https://news.ycombinator.com/item?id=47995473))
- Stable E2E tests in practice (2 comments): "when I threw cucumber into the mix things suddenly got a lot more stable" ([source](https://news.ycombinator.com/item?id=46255998)) "I've used Deno, CucumberJS and Playwright to write E2E test suites" ([source](https://news.ycombinator.com/item?id=49034766))
- Feature files guide AI agents (2 comments): "I think it starts to make more sense now because you can write the .feature files first" ([source](https://news.ycombinator.com/item?id=48932136)) "It's a very nice way to guide the agent in a falsifiable way." ([source](https://news.ycombinator.com/item?id=48779823))

## What people warn about

- Gherkin layer seen as overhead (3 comments): "If you strip out all of the cucumber nonsense this is essentially what BDD is" ([source](https://news.ycombinator.com/item?id=47413755)) "Gherkin/Cucumber and all that ridiculousness" ([source](https://news.ycombinator.com/item?id=46326793)) "in the end it’s another DSL" ([source](https://news.ycombinator.com/item?id=48928812))
- Fails for some users, who lose interest (2 comments): "BDD and frameworks like Cucumber don't work at all in my experience." ([source](https://news.ycombinator.com/item?id=47996763)) "I eventually lost my love for that tool myself" ([source](https://news.ycombinator.com/item?id=49809317))

## Alternatives hackers recommend

- [Mockito](https://hackerapproved.com/p/mockito.md): 19 recommend
- [cargo-nextest](https://hackerapproved.com/p/cargo-nextest.md): 18 recommend
- [Vitest](https://hackerapproved.com/p/vitest.md): 17 recommend
- [Testcontainers](https://hackerapproved.com/p/testcontainers.md): 14 recommend
- [pytest](https://hackerapproved.com/p/pytest.md): 12 recommend

## Cite as

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