wix/Detox

★ 12,060⑂ 0

Gray box end-to-end testing and automation framework for mobile apps

About wix/Detox

wix/Detox is an open-source project on GitHub, mainly written in JavaScript. Gray box end-to-end testing and automation framework for mobile apps It currently holds 12,060 stars and 0 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

Git Homed tracks it on the Automation Agent Trending board and on the AI Automation Agent Trending list.

GitHub Repository Details

Repository wix/Detox · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

SWUbanner

https://github.com/wix/Detox/blob/HEAD/Detox

Detox

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

https://github.com/wix/Detox/blob/HEAD/Demo

https://github.com/wix/Detox/blob/HEAD/ NPM Version NPM Downloads Build status Coverage Status Detox is released under the MIT license PR's welcome! Discord 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', () => {
  beforeEach(async () => {
    await device.reloadReactNative();
  });

it('should login successfully', async () => { await element(by.id('email')).typeText('[email protected]'); await element(by.id('password')).typeText('123456');

const loginButton = element(by.text('Login')); await loginButton.tap();

await expect(loginButton).not.toExist(); await expect(element(by.label('Welcome'))).toBeVisible(); }); });

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.

Supported React Native Versions

Detox was built from the ground up to support React Native projects.

While Detox should work out of the box with any React Native version of the latest minor releases, the _official_ versions compatibility is provided according to the following:

Newer RN versions might work with Detox, but they've not been thoroughly tested by the Detox team yet.

Although we do not officially support older React Native versions, we do our best to keep Detox compatible with them.

In case of a problem with an unsupported version of React Native, please submit an issue or write us in our Discord server and we will do our best to help out.

Known Issues with React Native

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)

GitHub Stars & Activity

12,060Stars
0Forks
0Open issues
JavaScriptLanguage

GitHub Popularity

GitHub stars12,060
Forks0
Open issues0
Primary languageJavaScript
License-
Stars gained today0
Created-
Last pushed-

Trending History

Trending statusnot on today's boards

Related GitHub Projects

1

citrolabs / ego-lite

JavaScript★ 25,628⑂ 0
→
2

semantic-release / semantic-release

JavaScript★ 24,216⑂ 0
→
3

automatisch / automatisch

JavaScript★ 14,038⑂ 0
→
4

jo-inc / camofox-browser

JavaScript★ 12,582⑂ 0
→
5

kaomei / stickman-video-director

JavaScript★ 9,489⑂ 0
→
6

release-it / release-it

JavaScript★ 9,083⑂ 0
→
7

crocodilestick / Calibre-Web-Automated

JavaScript★ 6,702⑂ 0
→
8

darkzOGx / youtube-automation-agent

JavaScript★ 5,470⑂ 0
→

More Trending Repositories