Softwr

Testing · head to head

Cucumber vs Envoy

Cucumber logo

Cucumber

Testing

Behaviour-driven development testing framework that returned to community ownership after nine years under SmartBear

From
Free
Free plan
Yes
Envoy logo

Envoy

Developer Tools

A high-performance L7 proxy written in C++ that is configured by an API rather than a config file, and is usually deployed under a control plane.

From
Free
Free plan
Yes

The short version

  • Both are free.
  • Only Cucumber lists gherkin syntax; only Envoy lists xDS dynamic configuration.

How do Cucumber and Envoy differ?

Cucumber and Envoy differ on pricing model, platforms and category (Testing against Developer Tools). Only the attributes on which Cucumber and Envoy actually diverge.

Attributes where Cucumber and Envoy differ
AttributeCucumberEnvoy
Pricing modelOpen source, no licence feeOpen-source
PlatformsLinux, macOS, WindowsWeb
CategoryTestingDeveloper Tools

Identical on both: starting price (Free), free tier (Yes).

Which features does each one have?

They share no listed features; 6 appear only for Cucumber and 8 only for Envoy. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Cucumber

  • Gherkin syntax
  • Step definition binding
  • Multi-language support
  • Living documentation
  • Tagging and scenario outlines
  • Reporting plugins

Only in Envoy

  • xDS dynamic configuration
  • Protocol breadth
  • Filter chain architecture
  • Observability by default
  • Outlier detection
  • Traffic shaping
  • mTLS termination and origination
  • Hot restart

What is each one used for?

The jobs each tool is most often brought in to do.

Cucumber

  • A team practising behaviour-driven development that wants shared, readable specifications between product owners and engineersnot Envoy
  • An organisation wanting living documentation that stays synchronised with actual test coverage rather than a separate specification documentnot Envoy
  • A QA team migrating acceptance tests from a proprietary BDD tool to an open source, community-governed alternativenot Envoy
  • A Java, JavaScript or Ruby project needing a mature BDD framework rather than building Gherkin-style parsing from scratchnot Envoy

Envoy

  • Acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use itnot Cucumber
  • An edge or API gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxyingnot Cucumber
  • Migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow trafficnot Cucumber
  • Standardising observability across a polyglot estate, so that latency, error rates and tracing look the same regardless of the language a service is written innot Cucumber

Where do Cucumber and Envoy fall short?

Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Cucumber

  • Gherkin's plain-language layer adds a real maintenance burden, keeping feature files, step definitions and implementation code synchronised across a large suite is a known source of drift and duplicated effort
  • Ownership has moved twice in under a decade, from independent to SmartBear-owned to independent community ownership again, which should temper confidence in any specific long-range roadmap claim
  • Non-technical stakeholders who are meant to read and write Gherkin scenarios often do not engage with them in practice, leaving the readability benefit unrealised while the maintenance cost remains
  • Step definition reuse across a large feature file set can become tangled, with ambiguous step matching causing hard-to-debug failures as a suite grows
  • As a community-owned project without a corporate backer's support infrastructure, enterprise buyers wanting a formal support contract have no vendor to buy one from, unlike some competing BDD tools still sold commercially

Envoy

  • The configuration surface is very large and hand-written bootstrap YAML runs to hundreds of lines for routing that Nginx expresses in twenty, which is why nearly every production deployment sits under a control plane and inherits that control plane's constraints as well
  • xDS is the real API and it is not stable in the comfortable sense; the v2 API set was removed outright, resource types continue to be deprecated, and your control plane and Envoy binaries have to be upgraded roughly in step or the proxies stop accepting configuration
  • Extending it properly means writing a C++ filter and building and maintaining your own Envoy binary; the alternatives are Lua, which adds per-request overhead, and proxy-wasm, whose ABI has remained effectively experimental for years with a real performance cost
  • At sidecar density the per-proxy memory and CPU footprint is a measurable share of cluster capacity, since thousands of workloads each carry a full proxy, and this is precisely the cost that has pushed mesh projects towards node-level or ambient architectures
  • There is no single vendor selling support for Envoy itself; you get the community plus control-plane vendors such as Solo.io and Tetrate, so an Envoy-level production bug is your own engineers in a C++ codebase unless a support contract happens to cover it
  • Diagnosing why a request got a particular response involves reading config dumps, the stats endpoint and the RESPONSE_FLAGS codes in access logs rather than a readable error, which is a specific skill you must hire or spend months growing

How much do Cucumber and Envoy cost?

Cucumber is free to use; Envoy is free to use. Plan by plan below, from each vendor's own pricing page.

Cucumber

Free
  • CucumberFree
    • Full functionality across Cucumber-JVM, Cucumber-JS, Cucumber-Ruby and other implementations
    • Community support via GitHub
    • Returned to independent community ownership in December 2024 after nine years connected to SmartBear

Envoy

Free

No published plan breakdown. See the Envoy review.

Which should you pick?

Choose Cucumber if

  • You need gherkin syntax.
  • You want to start without paying.
  • You work on Linux, macOS, Windows.
  • You also want step definition binding.

Choose Envoy if

  • You need xds dynamic configuration.
  • You want to start without paying.
  • You also want protocol breadth.

Questions people ask

Is Cucumber or Envoy better?
It depends on the job. Cucumber fits a team practising behaviour-driven development that wants shared, readable specifications between product owners and engineers; Envoy fits acting as the data plane under a service mesh or Gateway API implementation, which is how the overwhelming majority of deployments use it. Cucumber starts at Free and Envoy at Free.
Which is cheaper, Cucumber or Envoy?
Cucumber starts at Free and Envoy at Free.
Does Cucumber or Envoy run on more platforms?
Cucumber runs on Linux, macOS, Windows. Envoy runs on Web.
Can I use Cucumber for free?
Both have a free tier, so you can try either at no cost before committing.
What is Cucumber best used for?
Cucumber is most often used for a team practising behaviour-driven development that wants shared, readable specifications between product owners and engineers, an organisation wanting living documentation that stays synchronised with actual test coverage rather than a separate specification document, a qa team migrating acceptance tests from a proprietary bdd tool to an open source, community-governed alternative, a java, javascript or ruby project needing a mature bdd framework rather than building gherkin-style parsing from scratch. Of those, a team practising behaviour-driven development that wants shared, readable specifications between product owners and engineers and an organisation wanting living documentation that stays synchronised with actual test coverage rather than a separate specification document are not what Envoy is typically brought in for.
What can Cucumber do that Envoy cannot?
Cucumber covers Gherkin syntax, Step definition binding, Multi-language support, Living documentation. Envoy covers xDS dynamic configuration, Protocol breadth, Filter chain architecture, Observability by default.

Answered from the vendors’ own pages

Cucumber: Is Cucumber owned by SmartBear?

No, not currently. SmartBear acquired Cucumber Ltd in 2019 but the open source project returned to independent community ownership in December 2024.

Envoy: Should I run Envoy on its own, or under a control plane?

Almost always under one. Directly authoring xDS or static bootstrap configuration is viable for a handful of routes and becomes unmanageable beyond that. Envoy Gateway, Istio, Contour, Gloo and Consul all exist to generate that configuration for you.

Cucumber: Is Cucumber free?

Yes, entirely open source with no licence fee across all its language implementations.

Envoy: How does it compare with Nginx or HAProxy?

Envoy is dynamically configured over an API and instrumented far more heavily; Nginx and HAProxy are faster to configure and lighter for straightforward reverse proxying. If you never need to change routing without a reload, Envoy is more machinery than the problem requires.

Cucumber: Does Cucumber replace Selenium or Appium?

No, Cucumber provides the Gherkin specification layer and step definition binding; the actual browser or mobile automation still needs a driver such as Selenium or Appium underneath.

Envoy: What does it cost?

Nothing to licence; it is Apache 2.0 and there is no paid edition. The cost is engineering time and, for most organisations, a commercial control plane or cloud service that packages it.

Envoy: Can I write extensions without C++?

You can write Lua filters or proxy-wasm modules in Rust, Go, C++ or AssemblyScript. Both carry per-request overhead compared with a native filter, and the Wasm path has been slower to stabilise than the project originally projected.

Envoy: Is it a CNCF project?

Yes, it is a graduated CNCF project licensed under Apache 2.0, which means the trademark and governance sit with the foundation rather than with Lyft or any vendor.

Share

Related pages

Other head to heads