All Projects → wix → Detox

wix / Detox

Licence: mit
High velocity native mobile development requires us to adopt continuous integration workflows, which means our reliance on manual QA has to drop significantly. Detox tests your mobile app while it’s running in a real device/simulator, interacting with it just like a real user.

Programming Languages

javascript
184084 projects - #8 most used programming language
objective c
16641 projects - #2 most used programming language
kotlin
9241 projects
java
68154 projects - #9 most used programming language
swift
15916 projects
shell
77523 projects

Projects that are alternatives of or similar to Detox

Cypress
Fast, easy and reliable testing for anything that runs in a browser.
Stars: ✭ 35,145 (+291.02%)
Mutual labels:  e2e-tests, test-automation, testing-tools
saloon
An E2E test seeder for enterprise web applications
Stars: ✭ 30 (-99.67%)
Mutual labels:  test-automation, e2e-tests, testing-tools
software-testing-resource-pack
Various files useful for manual testing and test automation etc.
Stars: ✭ 38 (-99.58%)
Mutual labels:  test-automation, e2e-tests, testing-tools
request-baskets
HTTP requests collector to test webhooks, notifications, REST clients and more ...
Stars: ✭ 149 (-98.34%)
Mutual labels:  test-automation, testing-tools
page-walker
Chrome DevTools automation for desktop and mobile devices
Stars: ✭ 18 (-99.8%)
Mutual labels:  test-automation, testing-tools
servirtium-java
Service Virtualized HTTP - to help service test automation stay fast and consistent
Stars: ✭ 16 (-99.82%)
Mutual labels:  test-automation, testing-tools
mbt-bundle
A core library for Sicope Model, a Model-Based Testing tool for web application.
Stars: ✭ 19 (-99.79%)
Mutual labels:  test-automation, testing-tools
jdbdt
JDBDT: Java Database Delta Testing
Stars: ✭ 12 (-99.87%)
Mutual labels:  test-automation, testing-tools
Openrunner
Computest Openrunner: Benchmark and functional testing for frontend-heavy web applications
Stars: ✭ 16 (-99.82%)
Mutual labels:  test-automation, testing-tools
sbml-test-suite
The SBML Test Suite is a conformance testing system. It allows developers and users to test the degree and correctness of the SBML support provided in a software package.
Stars: ✭ 21 (-99.77%)
Mutual labels:  test-automation, testing-tools
Pyats Docker
Dockerfile and scripts for pyATS
Stars: ✭ 34 (-99.62%)
Mutual labels:  test-automation, testing-tools
vim-testbed
Docker image for testing Vim plugins
Stars: ✭ 40 (-99.55%)
Mutual labels:  test-automation, testing-tools
Tlsfuzzer
SSL and TLS protocol test suite and fuzzer
Stars: ✭ 335 (-96.27%)
Mutual labels:  test-automation, testing-tools
Es Check
Checks the version of ES in JavaScript files with simple shell commands 🏆
Stars: ✭ 448 (-95.02%)
Mutual labels:  test-automation, testing-tools
page-modeller
⚙️ Browser DevTools extension for modelling web pages for automation.
Stars: ✭ 66 (-99.27%)
Mutual labels:  test-automation, testing-tools
educhain
an instructional purpose blockchain.
Stars: ✭ 21 (-99.77%)
Mutual labels:  test-automation, testing-tools
DeepfakeHTTP
DeepfakeHTTP is a web server that uses HTTP dumps as a source for responses.
Stars: ✭ 373 (-95.85%)
Mutual labels:  test-automation, testing-tools
Karate
Test Automation Made Simple
Stars: ✭ 5,497 (-38.84%)
Mutual labels:  test-automation, testing-tools
Wasmite
Now WebAssembly has proper testing, unit-testing and debugging 🤗
Stars: ✭ 20 (-99.78%)
Mutual labels:  test-automation, testing-tools
service-ui
UI service for Report Portal
Stars: ✭ 47 (-99.48%)
Mutual labels:  test-automation, testing-tools

Detox

Detox

Gray box end-to-end testing and automation library for mobile apps.

Demo

NPM Version NPM Downloads Build Status Coverage Status Detox is released under the MIT license PR's welcome! Twitter Follow

What Does a Detox Test Look Like?

This is a test for a login screen, it runs on a device/simulator like an actual user:

describe('Login flow', () => {
    
  it('should login successfully', async () => {
    await device.reloadReactNative();
    
    await element(by.id('email')).typeText('[email protected]');
    await element(by.id('password')).typeText('123456');
    await element(by.text('Login')).tap();
      
    await expect(element(by.text('Welcome'))).toBeVisible();
    await expect(element(by.id('email'))).toNotExist();
  });
  
});

Get started with Detox now!

About

High velocity native mobile development requires us to adopt continuous integration workflows, which means our reliance on manual QA has to drop significantly. Detox tests your mobile app while it’s running in a real device/simulator, interacting with it just like a real user.

The most difficult part of automated testing on mobile is the tip of the testing pyramid - E2E. The core problem with E2E tests is flakiness - tests are usually not deterministic. We believe the only way to tackle flakiness head on is by moving from black box testing to gray box testing. That’s where Detox comes into play.

  • Cross Platform: Write cross-platform tests in JavaScript. Currently supports iOS and Android.
  • Runs on Devices (not yet supported on iOS): Gain confidence to ship by testing your app on a device/simulator just like a real user.
  • Automatically Synchronized: Stops flakiness at the core by monitoring asynchronous operations in your app.
  • Made For CI: Execute your E2E tests on CI platforms like Travis without grief.
  • Test Runner Independent: Use Jest, Mocha, AVA, or any other JavaScript test runner you like (spoiler: we have our favorite).
  • Debuggable: Modern async-await API allows breakpoints in asynchronous tests to work as expected.

Supported Versions

Environment

  • OS: macOS 10.15 (Catalina) or higher
  • Xcode: 11.0 or higher
    • iOS Simulator Runtime: iOS 13.0 or higher

React Native

Detox is built from the ground up to support React Native projects as well as pure native ones.

The following React Native versions have been tested:

iOS Android
≤0.64.x ≥0.59, ≤0.64 - Visibility edge-case: see this RN issue*

Future versions are most likely supported, but have not been tested yet. Please open issues if you find specific issues with newer React Native versions.

Get Started with Detox

Read the Getting Started Guide to get Detox running on your app in less than 10 minutes.

Documents Site

Explore further about using Detox from our new website.

Core Principles

We believe that the only way to address the core difficulties with mobile end-to-end testing is by rethinking some of the principles of the entire approach. See what Detox does differently.

Contributing to Detox

Detox has been open-source from the first commit. If you’re interested in helping out with our roadmap, please see issues tagged with the label. If you have encountered a bug or would like to suggest a new feature, please open an issue.

Dive into Detox core by reading the Detox Contribution Guide.

License

Non-English Resources (Community)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].