Guide to automation framework in detox : React Native?

被刻印的时光 ゝ 提交于 2019-11-28 05:46:32

问题



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

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:


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



来源:https://stackoverflow.com/questions/50837274/guide-to-automation-framework-in-detox-react-native

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!