-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cavy vs Detox? #113
Comments
Hi @joshuapinter - no problem, I'll look into getting a quick Cavy vs Detox comparison for you. Thanks for your interest in using Cavy! |
Awesome. Thanks for the response! |
Hi @joshuapinter - I've pulled together some thoughts re Cavy vs Detox . It's a bit of a brain dump at the moment, but thought I'd share with you before it goes into the README (or a COMPARISON.md). If you have any specific points you'd like a comparison for just let me know :)
|
This is great, @AbigailMcP! Our app at work is a mix of native Android and React Native so we might have to go with Detox to get some of those native tests. But I think we'll try each of them and see how they both stack up. If it's good with you, I'll add any feedback from those run throughs here so it can be added to your chart. |
Thanks @joshuapinter - that's awesome! I'm really interested to hear what snags you come up against for either of them. |
If it helps, we just spent the day trying to get Detox working and it was a complete dumpster fire. 🚒 Now we're moving onto Cavy. Hopefully, we have better success. We're on Android and React Native 0.57.8. Do you foresee any issues we should know about? Thanks! |
So, first issue. I'm a little confused. How do you actually run the spec suite? Your README says:
But why would we want it to run everytime we run our app. For example, if we start our app to do development or in production we don't want this running. Do we need |
When I run
Seems similar to pixielabs/cavy-cli#3. |
Yep cavy-cli is the recommended way to run the tests - sorry to hear you hit an issue with this! We're looking into possible reasons today, but we're finding it tough to replicate on our machines where it's working fine. Are you running in a windows environment by any chance? |
Hey Abigail. Running on macOS 10.13. Does Cavy launch the emulator and/or application? Or should the emulator and app be running before running cavy-cli? |
Running |
Are you able to run |
No, I'm getting:
|
Tell you what. I'll close this issue because it's likely the result of our weird setup. Not your fault that we're not starting from a fresh react native install. If we discover anything, I will try and remember to post the results back here. Thanks for writing up the comparison table. It's certainly valuable and worthy of adding to a README or at least a Wiki. And thanks for all your help. Josh |
No problem! Under the hood cavy-cli uses the react-native-cli, so if you can get |
Hi guys, so, as far as I know, Detox does not support testing on real devices yet Does Cavy offer support for real devices? |
Ah thanks @simoreira ! I'll fix this in the FAQs on cavy.app where we have the same table. And yes, you can run Cavy tests on a real device - it's just the same as running |
Hi Guys,
It would be great if we could get a comparison between Cavy and Detox, maybe even on the README.md, that would highlight Cavy's strengths over Detox and the reason to get behind it.
We're currently using Appium because neither Detox or Cavy were supporting Android when we had to build our tests and now we're looking to change to something more React Native centric to simplify things, but are trying to decide between these two libraries.
Thanks!
Joshua
The text was updated successfully, but these errors were encountered: