Flank / flank

:speedboat: Massively parallel Android and iOS test runner for Firebase Test Lab
https://firebase.community/
Apache License 2.0
682 stars 118 forks source link

Documentation for Appium support #374

Closed dat-boris closed 6 years ago

dat-boris commented 6 years ago

Thank you for such a great too!

From one of the blog article I read from your team, I would like to double check if there's any Appium support to allow parallel test with flank.

If not wondering do you have any alternative suggestions on how your team automatically run your Appium tests on real device at the moment? Thank you!

bootstraponline commented 6 years ago

hi, Firebase Test Lab doesn't support appium tests. Flank is a Firebase Test Lab runner, that means we're limited to what Firebase supports.

If Firebase adds Appium support then Flank will work with appium. I don't think that'll happen anytime soon though. Your best bet with appium is a provider such as bitbar, sauce labs test object, xamarin device farm, or similar.

In general I don't recommend appium as an automation technology. The native frameworks (Espresso, EarlGrey, XCUITest) are a better investment for performance and productivity.

dat-boris commented 6 years ago

hi, Firebase Test Lab doesn't support appium tests. Flank is a Firebase Test Lab runner, that means we're limited to what Firebase supports.

That makes sense! That's what I thought also and wondering if there's an alternative alluded to by the blog article.

In general I don't recommend appium as an automation technology. The native frameworks (Espresso, EarlGrey, XCUITest) are a better investment for performance and productivity.

Thank you for the frank suggestion. I would agree for performance wise native frameworks is way better. As the article suggests there's a factor of reusability, and maintainability that we are exploring also.

Feel free to close this issue - thank you!

p.s. We are at the stage of exploring Appium as a potential candidate so if you have any references as to horror stories of Appium uses would love to hear! Thank you.

bootstraponline commented 6 years ago

I've spent some time exploring appium https://github.com/appium/appium/graphs/contributors

If you want developer involvement and the apps are native, then native is the way to go. If you have a react native app then detox will be a better fit. I'm not sure there's a great use case for appium today, maybe hybrid apps with webviews.

sdg9 commented 6 years ago

I couldn't find it explicitly mentioned anywhere, but @bootstraponline regarding

If you have a react native app then detox will be a better fit

Does detox currently work with Flank on Firebase test lab, even if only virtual devices?

EDIT Found the answer on firebase test lab slack channel

nope you can use the native parts of detox from espresso/earlgrey and run that on firebase, there's currently no support for running JavaScript tests.