Testing · head to head
Detox vs Envoy

Detox
Testing
Open source end-to-end testing framework for React Native apps, built and maintained by Wix
- From
- Free
- Free plan
- Yes

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 Detox lists gray-box synchronisation; only Envoy lists xDS dynamic configuration.
- Where Detox falls short: its community and plugin ecosystem is smaller than Appium's broader, foundation-governed mobile automation ecosystem.
How do Detox and Envoy differ?
Detox and Envoy differ on pricing model, platforms (iOS, Android against Web) and category (Testing against Developer Tools). Only the attributes on which Detox and Envoy actually diverge.
Identical on both: starting price (Free), free tier (Yes).
Which features does each one have?
They share no listed features; 6 appear only for Detox 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 Detox
- Gray-box synchronisation
- React Native native integration
- Real device and simulator support
- Jest integration
- Element matching and actions
- CI-friendly execution
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.
Detox
- A React Native team wanting end-to-end tests that reliably wait for real app state rather than fixed sleep delaysnot Envoy
- A CI pipeline running mobile end-to-end tests that need to be genuinely reliable, not flaky, to avoid blocking merges on false failuresnot Envoy
- A team migrating from Appium-based React Native testing wanting tighter synchronisation with the app's async internalsnot Envoy
- An engineering organisation wanting a free, actively used-in-production framework rather than a lightly maintained side projectnot 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 Detox
- An edge or API gateway that needs per-route retry budgets, circuit breaking and outlier detection rather than round-robin proxyingnot Detox
- Migrating traffic between service versions or between a monolith and its replacement, using weighted splits and shadow trafficnot Detox
- 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 Detox
Where do Detox and Envoy fall short?
Detox's most cited limit: its community and plugin ecosystem is smaller than Appium's broader, foundation-governed mobile automation ecosystem. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.
Detox
- It only benefits React Native apps; teams with native iOS, native Android, or non-React-Native hybrid apps get no advantage from its core gray-box synchronisation design and should use Appium instead
- As a single-company open source project, its long-term maintenance priority is tied to Wix's own continued internal use of React Native and Detox, which is a real, if currently low, dependency risk
- Initial setup, particularly around build configuration for iOS and Android, has a steeper learning curve than some competing frameworks, with configuration errors being a common source of early frustration
- Its community and plugin ecosystem is smaller than Appium's broader, foundation-governed mobile automation ecosystem
- Debugging synchronisation issues when the gray-box mechanism misjudges app idle state can itself be a non-trivial troubleshooting exercise, ironically producing the same kind of flaky-test debugging it is designed to avoid
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 Detox and Envoy cost?
Detox is free to use; Envoy is free to use. Plan by plan below, from each vendor's own pricing page.
Detox
Free- DetoxFree
- Full functionality, no usage limits
- Community support via GitHub
- Built and maintained by Wix for its own internal React Native testing needs
Envoy
FreeNo published plan breakdown. See the Envoy review.
Which should you pick?
Choose Detox if
- You need gray-box synchronisation.
- You want to start without paying.
- You work on iOS, Android.
- You also want react native native integration.
Choose Envoy if
- You need xds dynamic configuration.
- You want to start without paying.
- You also want protocol breadth.
Questions people ask
- Is Detox or Envoy better?
- It depends on the job. Detox fits a React Native team wanting end-to-end tests that reliably wait for real app state rather than fixed sleep delays; 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. Detox starts at Free and Envoy at Free.
- Which is cheaper, Detox or Envoy?
- Detox starts at Free and Envoy at Free.
- Does Detox or Envoy run on more platforms?
- Detox runs on iOS, Android. Envoy runs on Web.
- Can I use Detox for free?
- Both have a free tier, so you can try either at no cost before committing.
- What is Detox best used for?
- Detox is most often used for a react native team wanting end-to-end tests that reliably wait for real app state rather than fixed sleep delays, a ci pipeline running mobile end-to-end tests that need to be genuinely reliable, not flaky, to avoid blocking merges on false failures, a team migrating from appium-based react native testing wanting tighter synchronisation with the app's async internals, an engineering organisation wanting a free, actively used-in-production framework rather than a lightly maintained side project. Of those, a react native team wanting end-to-end tests that reliably wait for real app state rather than fixed sleep delays and a ci pipeline running mobile end-to-end tests that need to be genuinely reliable, not flaky, to avoid blocking merges on false failures are not what Envoy is typically brought in for.
- What can Detox do that Envoy cannot?
- Detox covers Gray-box synchronisation, React Native native integration, Real device and simulator support, Jest integration. Envoy covers xDS dynamic configuration, Protocol breadth, Filter chain architecture, Observability by default.
Answered from the vendors’ own pages
Detox: Is Detox owned by Wix?
Yes, it is built and maintained by Wix as an open source project, used internally across Wix's own React Native apps.
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.
Detox: Does Detox work with native iOS or Android apps, not just React Native?
It is specifically designed around React Native's architecture; for native or non-React-Native hybrid apps, Appium is the more appropriate choice.
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.
Detox: Is Detox free?
Yes, entirely open source with no licence fee.
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.
Related pages
Other head to heads
- Detox vs Appium
- Detox vs Katalon
- Detox vs Sauce Labs
- Detox vs Testsigma
- Detox vs TestNG
- Detox vs GrowthBook
- Detox vs JUnit
- Detox vs Selenium
- Detox vs Insomnia
- Detox vs Apache JMeter
- Detox vs CloudBees Smart Tests
- Detox vs pytest
- Detox vs BlazeMeter
- Detox vs BugHerd
- Detox vs Chromatic
- Detox vs Mocha
- Detox vs Jest
- Detox vs WebdriverIO
- Detox vs Istio
- Detox vs Ona (formerly Gitpod)
- Detox vs Spacelift
- Detox vs Jenkins
- Detox vs Hookdeck
- Detox vs Atlantis
- Detox vs Restate
- Detox vs Leafmap
- Detox vs Turborepo
- Detox vs Helix
- Detox vs Git
- Detox vs Okteto
- Detox vs Coder
- Detox vs JetBrains IntelliJ IDEA
- Detox vs Statsig
- Detox vs Argo CD
- Detox vs CodeSandbox
- Detox vs Depot
- Envoy vs Appium
- Envoy vs Katalon
- Envoy vs Sauce Labs
- Envoy vs Testsigma
- Envoy vs TestNG
- Envoy vs GrowthBook
- Envoy vs JUnit
- Envoy vs Selenium
- Envoy vs Insomnia
- Envoy vs Apache JMeter
- Envoy vs CloudBees Smart Tests
- Envoy vs pytest
- Envoy vs BlazeMeter
- Envoy vs BugHerd
- Envoy vs Chromatic
- Envoy vs Mocha
- Envoy vs Jest
- Envoy vs WebdriverIO
- Envoy vs Istio
- Envoy vs Ona (formerly Gitpod)
- Envoy vs Spacelift
- Envoy vs Jenkins
- Envoy vs Hookdeck
- Envoy vs Atlantis
- Envoy vs Restate
- Envoy vs Leafmap
- Envoy vs Turborepo
- Envoy vs Helix
- Envoy vs Git
- Envoy vs Okteto
- Envoy vs Coder
- Envoy vs JetBrains IntelliJ IDEA
- Envoy vs Statsig
- Envoy vs Argo CD
- Envoy vs CodeSandbox
- Envoy vs Depot
