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.
Just like unit tests, integration tests are mostly written by developers and can be automated, but they test completely different features. Integration tests are about observing how code sections behave together and “making sure that they speak the same language,” Schneider said.
The comparison of the frameworks shows that Detox scores more points than Appium. Nevertheless, it has to be considered that the resulting ratings for the frameworks are very close to each other (112 vs. 99).
React Native and Appium – Introduction to Test Automation. Having a single code base generate native applications for both iOS and Android is not a small feat. By enabling this, React Native has taken hybrid app development to the next level of performance, stability, and integration with operating systems.
I can recommend you following integration test tool for react native: Cavy
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With