React Native:如何设置自动化集成测试? [英] React Native: How to setup automated integration tests?

查看:145
本文介绍了React Native:如何设置自动化集成测试?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是测试的新手,我已经获得了为iOS和Android的React-Native应用程序设置和编写自动化集成测试的任务. 我在设置集成测试时遇到了严重的麻烦.我应该使用什么框架?我找到了一些教程,但是他们觉得大多数都已经过时了.在Travis CI上使用Appium是否可行?我发现了一些使用Mocha和Chai编写测试的示例. ( http://tech.taskrabbit.com/blog/2015/11/08/react-native-integration-tests/这似乎是最好的方法).非常感谢您能提供的任何帮助.

I'm new to testing and I've been given a task to set up and write automated integration tests for React-Native app for both iOS and Android. I'm having a serious trouble setting up integration tests. What frameworks should i use? I've found some tutorials but they felt mostly outdated. Is using Appium with Travis CI viable? I've found some examples using Mocha and Chai to write tests. (http://tech.taskrabbit.com/blog/2015/11/08/react-native-integration-tests/ this seems like the best one). I really appreciate any help you can offer.

推荐答案

我们最近开始使用排毒允许对React Native应用程序进行灰盒端到端测试.它还支持Travis等CI平台.

We've recently started using Detox from Wix which allows for gray box end-to-end testing of React Native apps. It also supports CI platforms like Travis.

这篇关于React Native:如何设置自动化集成测试?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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