排毒自动化框架指南:React Native?创建End 2结束和集成测试框架
自动化测试,以创建端到端测试和集成测试. 在以下方面需要建议:
Automation testing on detox for react native apps to create E2E tests and integration tests. Need suggestion on the following:
- 可用于TDD,BDD以避免代码重构的最佳自动化框架.
- 如何使用排毒和开玩笑为Android和iOS创建集成测试
- 易于使用TestRunner Mocha或Jest或其他任何工具.
- 执行测试后,将使用任何报告机制.
- 有关使用CI/CD进行e2e测试的排毒自动化的任何POC.
- 设计模式(如POM)如何用于React Native
- 任何采用分步方法将其与RN应用程序集成的Sample Detox存储库.
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.
我会去笑话与排毒一起.您可以通过记录得很好并且可以正常工作非常适合iOS.在最常见的CI/CD平台上仍无法使用Android
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