Appium vs Espresso for automated testing framework

python picture python · Feb 23, 2016 · Viewed 13.9k times · Source

For last few weeks, I was using Appium(python) for android testing but yesterday we have decided to shift to Expresso(Java) for automated testing. There are couple of reasons why we are making this shift:

  • We want to scale out our automated testing, and there are lot of features not present in appium.

  • This is one of the latest testing framework for android, and has nice backward compatibility.

  • Small API and very easy to customize.

I have been reading for Espresso but I don't find anything great at all, If I compare it with Appium. I am a Python/R developer so maybe there are couple of points I am not able to understand. Would anyone like to help me understand if the shift to this new testing framework will be good for future? I am missing the bigger picture here, and any help would be greatly appreciated.

Answer

anuja jain picture anuja jain · Feb 29, 2016
  1. The Shifting will be very much useful as Espresso supports testing activities outside the app like camera, browser and dialer etc which appium does not support.
  2. Espresso you can test toast message, auto complete and dialogs which are outside app.
  3. With Espresso Test Suit you can find code coverage and measure your testing efforts.