Tell me more ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

For Android, are there any good solutions out there for automating build/test/deployments?

share|improve this question
You are asking for tools, this question should be on stackoverflow. – Joh Sep 17 '11 at 7:54
@Joh : no i think it belongs here, more than on SO – Pankaj Upadhyay Sep 17 '11 at 8:13
1  
@Pankaj: From the FAQ: "If your question is about programming tools, please ask on Stack Overflow instead.". This question mentions "solutions for automating", which in my opinion falls under "programming tools". – Joh Sep 18 '11 at 6:42

2 Answers

The standard Android tools have support for creating test packages. Jenkins can do the rest for you with a little bit of configuration:

  • Build: Generate the ANT build script for building the application (using the android utility) and set up Jenkins to do the builds.
  • Android has bases for implementing unit tests. See android.test package.
  • Jenkins comes with plugin to start android emulator and run specified package on it.

I don't know what you mean by "deploy" for Android. Jenkins can upload the built package (apk) to your server over samba share, ftp or scp. You'll have to upload it to Android Market manually (you want to do manual testing before that anyway).

share|improve this answer

Android SDK itself comes with a virtual device Emulator for building, testing and deployment purpose.

The device emulator resembles an android phone.

share|improve this answer
2  
How does this help the OP with automated builds, testing and deployments? – Oded Sep 17 '11 at 7:49
It depends what he meant by automating. As far as i understood, he is looking to build and test drive his android code which can be done with Android SDK that ships with virtual emulator – Pankaj Upadhyay Sep 17 '11 at 7:53
1  
Actually, Oded is correct. I'm aware of the emulator, but what I'm looking for is something to automate doing a build, running my tests on the emulator, and maybe even deploying to the marketplace. – CrashVeritas Sep 17 '11 at 22:19
Automating deployment to the marketplace using some automated test framework? How would that work? – Zsombor ErdÅ‘dy-Nagy Oct 17 '11 at 8:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.