排毒自动化框架指南:React Native? [英] Guide to automation framework in detox : React Native?

查看:141
本文介绍了排毒自动化框架指南:React Native?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正计划在排毒上对反应本地应用进行自动化测试. 在以下方面需要建议:

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

  • 可用于TDD,BDD以避免代码重构的最佳自动化框架.
  • 易于使用TestRunner Mocha或Jest.
  • 执行测试后,将使用任何报告机制.
  • 有关使用CI/CD进行e2e测试的排毒自动化的任何POC.

注意:我已经通过

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?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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