4
votes

Automation testing on detox for react native apps to create E2E tests and integration tests. Need suggestion on the following:

  • Best Automation Framework that can be used TDD,BDD to avoid refactoring of code.
  • How to create integration tests for Android and iOS using detox and jest
  • Easy to use TestRunner Mocha or Jest or any other.
  • Any reporting mechanism once the test has been executed.
  • Any POC on detox automation for e2e testing with CI/CD.
  • Design Pattern like POM how to use it for React Native
  • Any Sample detox repository with step by step approach to integrate it with RN app.

Note: I have already installed the required dependency need in detox with Mocha from Wix git repo and successfully launched the demo project.Looking for a Framework template that I can use it as a reference in designing my own framework.

1

1 Answers

3
votes

I would go for jest together with detox. You can use the same test executer for unit and integration tests by configuring projects in jest. This way you can execute them in the same run. CI/CD for detox is documented well and works great for iOS. Android is still not possible on the most common CI/CD platforms