Hacker ApprovedDepartments

Cucumber

Ranked 6 of 8 testing frameworks by recommenders

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.

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.

17 people gave an opinion

recommend it
9
criticize it
8
approval share
53%
Each figure is one person. RecommendsCriticizes

Recommended in 7 of 13 months

  1. November 2025: not recommended
  2. December 2025: recommended
  3. January 2026: not recommended
  4. February 2026: not recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: not recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 9 people recommend itNeeds 10 or more, not met.
  • 1.1 recommenders for every criticNeeds 2 to 1 or better, not met.
  • Recommended in 7 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Works well with LLMs and coding agents

    “Ive had good success using claude code with Cucumber”

    Comment from 5 Apr 2026 in “Components of a Coding Agent”

    “Cucumber works really well with LLMs.”

    Comment from 3 May 2026 in “Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML”
  • Stable E2E tests in practice

    “when I threw cucumber into the mix things suddenly got a lot more stable”

    Comment from 13 Dec 2025 in “Ask HN: How can I get better at using AI for programming?”

    “I've used Deno, CucumberJS and Playwright to write E2E test suites”

    Comment from 24 Jul 2026 in “Buz – A fork of Bun using modern Zig, with sub-1s incremental builds”
  • Feature files guide AI agents

    “I think it starts to make more sense now because you can write the .feature files first”

    Comment from 16 Jul 2026 in “Show HN: E– – a language you dial between English and Python”

    “It's a very nice way to guide the agent in a falsifiable way.”

    Comment from 3 Jul 2026 in “Ask HN: Is anyone experimenting with different ways of using LLMs for coding?”

What people warn about

Each mark is one comment

  • Gherkin layer seen as overhead

    “If you strip out all of the cucumber nonsense this is essentially what BDD is”

    Comment from 17 Mar 2026 in “Every layer of review makes you 10x slower”

    “Gherkin/Cucumber and all that ridiculousness”

    Comment from 19 Dec 2025 in “Your job is to deliver code you have proven to work”

    “in the end it’s another DSL”

    Comment from 15 Jul 2026 in “Show HN: E– – a language you dial between English and Python”
  • Fails for some users, who lose interest

    “BDD and frameworks like Cucumber don't work at all in my experience.”

    Comment from 3 May 2026 in “Job Postings for Software Engineers Are Rapidly Rising”

    “I eventually lost my love for that tool myself”

    Comment from 22 Sep 2026 in “Markdown in /src”

Other testing frameworks people recommend

The four most recommended other testing frameworks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Cucumber compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Mockito191359%34 yrs4 owners—
cargo-nextest18195%3——
Vitest17868%8—Approved
Testcontainers14382%8—Approved
CucumberThis page9853%7——
See all 8 testing frameworks, ranked

What people said

15 of the 18 comments that mention it, newest first. Each links to the original comment.

“I eventually lost my love for that tool myself”

CriticizesComment from 22 Sep 2026 in “Markdown in /src”

“I think it's interesting as a way to use AI to generate tests”

RecommendsComment from 22 Sep 2026 in “AI coding has made CI a bottleneck, so we reworked ours to keep up”

“I've used Deno, CucumberJS and Playwright to write E2E test suites”

RecommendsComment from 24 Jul 2026 in “Buz – A fork of Bun using modern Zig, with sub-1s incremental builds”

“I think it starts to make more sense now because you can write the .feature files first”

RecommendsComment from 16 Jul 2026 in “Show HN: E– – a language you dial between English and Python”

“in the end it’s another DSL”

CriticizesComment from 15 Jul 2026 in “Show HN: E– – a language you dial between English and Python”

“It's a very nice way to guide the agent in a falsifiable way.”

RecommendsComment from 3 Jul 2026 in “Ask HN: Is anyone experimenting with different ways of using LLMs for coding?”

“the solution to cucumber problems was always to invest more into cucumber!”

CriticizesComment from 5 May 2026 in “Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML”

“BDD and frameworks like Cucumber don't work at all in my experience.”

CriticizesComment from 3 May 2026 in “Job Postings for Software Engineers Are Rapidly Rising”

“Cucumber works really well with LLMs.”

RecommendsComment from 3 May 2026 in “Specsmaxxing – On overcoming AI psychosis, and why I write specs in YAML”

“Ive had good success using claude code with Cucumber”

RecommendsComment from 5 Apr 2026 in “Components of a Coding Agent”

“If you strip out all of the cucumber nonsense this is essentially what BDD is”

CriticizesComment from 17 Mar 2026 in “Every layer of review makes you 10x slower”

“a more programmatic version of this, check out cucumber / gherkin”

RecommendsComment from 10 Mar 2026 in “You hired the AI to write the tests. Of course they pass”

“Gherkin/Cucumber and all that ridiculousness”

CriticizesComment from 19 Dec 2025 in “Your job is to deliver code you have proven to work”

“some sort glorified Cucumber testing”

CriticizesComment from 14 Dec 2025 in “The Coming Need for Formal Specification”

“when I threw cucumber into the mix things suddenly got a lot more stable”

RecommendsComment from 13 Dec 2025 in “Ask HN: How can I get better at using AI for programming?”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.