unit testing - Android autobuild + tests -


what easiest way run autobuild of android app, includes compiling, running tests , creating apk file (using ant)?

thanks!

use android tool sdk. if have that's running project in eclipse need run android project in base directory of project:

android update project --path . 

and should generate ant build scripts needed able build debug , release apks command line.

as testing, there's options create new test project using android tool: http://developer.android.com/guide/developing/testing/testing_otheride.html docs in there go through details automating , setting test projects.

if you're looking way automate stuff check out 1 of continuous integration servers, jenkins (http://jenkins-ci.org/) they're tailored watch software repository, automate actions, , monitor output.


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -