Guide to automation framework in detox : React Nat

2020-02-12 21:16发布


I am planning to implement automation testing on detox for react native apps. Need suggestion on the following:

  • Best Automation Framework that can be used TDD,BDD to avoid refactoring of code.
  • 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条回答
放我归山
2楼-- · 2020-02-12 22:12

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

查看更多
登录 后发表回答