Last but not least, you are automating the process of testing therefore the process of deployment is less painful and pushing new features is less stressful.

Meaning that you can enjoy some brew with your crew while the machines are doing the work for you 😉

Introducing Detox

Detox is an end-to-end testing library for react native apps that enables you to emulate user behavior and test how your app reacts to it, automatically.

It also supports multiple device configurations, notifications, permissions and basically everything a user might do with your app.

Under the hood Detox uses Mocha as matchers and can be used natively with IOS and soon Android.

Writing your first test using Detox

Imagine that we have an app that allows a user to search for a specific employee and see their profile in order to contact them.

The app’s code is hosted on Github.