Reputation: 91
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.
Upvotes: 9
Views: 4834
Reputation: 876
This is a sample github repository for the POC task I did for automating React Native app e2e using Detox from Wix .Hope it will be helpful : https://github.com/saifsms91/DetoxAutomationPoc.
Moreover you can refer this Stackoverflow question for automating React Native App:
Guide to automation framework in detox : React Native?
Upvotes: 0
Reputation: 3341
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.
Upvotes: 1
Reputation: 2651
I can recommend you following integration test tool for react native: Cavy
Upvotes: 1