14

I want to setup integration testing for an Android app and I wonder what is better for this: Robotium or recently introduced uiautomator.

I had previous experience using Robotium and this framework is really awesome for integration testing. But recently introduced uiautomator looks nice also.

Currently I see several limitation on uiautomator:

  • no xml testing report
  • no compatibility (works only on 4.1+)
  • no Eclipse support, which means a lot of console work

On the other side, this tool allows you to get rid of application-under-test sandboxing and it is package independent so several applications can be tested together.

Also I know that is it rather easy to make a setup with Maven, Robotium and some CI like Jenkins, but I'm not sure if it is that easy with uiautomator.

I'd like to ask are there any other pitfalls in uiautomator? Or it is better to stick with Robotium currently?

atermenji
  • 1,338
  • 8
  • 19
  • @CommonsWare I've made some edits. Please check out if this is a proper format for a question. Thanks and sorry for misunderstanding the FAQ – atermenji Dec 20 '12 at 13:49
  • That's certainly an improvement -- thanks! – CommonsWare Dec 20 '12 at 13:50
  • @CommonsWare Is there any site on sister site for this type of questions? This is good useful question but of course violated SO FAQ. – Gaurav Agarwal Dec 20 '12 at 15:41
  • @codingcrow: Well, the sort of open-ended discussion originally requested is better for a blog post, or a G+ post, or maybe some relevant Reddit area, etc. StackOverflow and the rest of the StackExchange sites are strictly for Q&A: ask a concrete question, get a concrete answer. – CommonsWare Dec 20 '12 at 15:54
  • @CommonsWare I agree with you but at the same time I think Area51 is where community discuss if a new sister site should be opened on SO and that discussion takes Q&A form. I have no data but looks like SO had become first place of choice for computer community to look for help and Quora/G+/Reddit does not fit in well and has lot of noise. – Gaurav Agarwal Dec 20 '12 at 16:00
  • 2
    @CommonsWare I've posted this on SO, because a lot of people are watching SO. I thought that this question could be rather interesting in AndroidDev community. If I've posted it on G+, nobody could see this, because I'm not popular on G+ :) – atermenji Dec 20 '12 at 16:23
  • @codingcrow: Well, there's also the android-developers Google Group. Specific third-party products like Robotium have their own lists/groups/support mechanisms. There are other Q&A sites that might be more amenable to open-ended discussions: http://www.andglobe.com. – CommonsWare Dec 20 '12 at 16:26
  • @atermenji You can visit Area51 and see if you can proposed a site which can take discussion based open ended question and people find it interesting. – Gaurav Agarwal Dec 20 '12 at 16:30
  • @atermenji: Fitting the norms of a community needs to be part of your decision-making process, though, particularly where those norms are documented. Personally, I didn't find your revised question to be out of line, but others did. – CommonsWare Dec 20 '12 at 16:30
  • 20
    I am rather happy to have find this post, and sad to see it was not answered. There are plenty of posts comparing technologies and discussion of progress in the integration of open souce projects. It was a valid post to my mind. – Snicolas Jan 26 '13 at 13:26

0 Answers0