排毒自动化框架指南:React Native?创建End 2结束和集成测试框架 [英] Guide to automation framework in detox : React Native? Creating End 2 end and integration testing framework

查看:74
本文介绍了排毒自动化框架指南: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

这篇关于排毒自动化框架指南:React Native?创建End 2结束和集成测试框架的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆