Automatic mobile app testing using Detox

Add a file android/app/src/androidTest/java/com/[your.package]/DetoxTest.java and fill as in the detox example app for NR. Don’t forget to change the package name to your project’s (create folder androidTest if you need). Add Detox configuration to package.json “detox” : { “configurations”: { “android.emu.debug”: { “binaryPath”: “android/app/build/outputs/apk/debug/app-debug.apk”, “build”: “cd android && ./gradlew assembleDebug assembleAndroidTest -DtestBuildType=debug && cd ..”, …

Automatic mobile app testing using Detox Read More »