Getting ready for eGov testing

We are getting closer to publishing our eGov template test suite that works across VirtualBox GNU/Linux systems, Android phone/tablets, as well as Google TV virtual devices.

We hope that you, our readers and community, will join us. In order to make it easier for you, we are listing the software packages that you will need in order to get the most out of the Testing Machine project. We also list the few steps required to get the Android Development Toolkit (ADT) set up.

Here are the dependencies for Debian, Ubuntu, and Fedora:

Debian
For tm-vmm, you will want VirtualBox (installable with apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox; you can also install the latest official version), and the Android Development Toolkit bundle (see below). The `wmctrl' package is optional, and allows tm-vmm to automatically maximize your window.

In order to run the eGov test suite, you will need a Java SDK (apt-get install default-jdk); Ant comes with Debian.

Fedora
For tm-vmm, you want VirtualBox (available from the VirtualBox Linux Download section), and the Android Development Toolkit bundle (see below). Just like with Debian, the `wmctrl' package is optional.

For the eGov test suite, you will need a Java SDK and Ant (yum install java-1.7.0-openjdk ant).

Ubuntu
VirtualBox is like Debian. Install VirtualBox with sudo apt-get install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') virtualbox, or grab the latest official version), optionally install the `wmctrl' package, and proceed to the next section for the Android Development Toolkit bundle.

In order to be able to run the eGov test suite, use a Java SDK and Ant by typing sudo apt-get install default-jdk ant.
 

The Android Development Toolkit bundle
Here are the steps to install the ADT bundle:

  1. Visit https://developer.android.com/sdk/index.html and click on the Linux package that matches your processor architecture. For example, `adt-bundle-linux-x86_64-20131030.zip'.
  2. Extract the ZIP archive somewhere, for example in your home directory.
  3. Modify ~/.bashrc to contain the line `export ANDROID_ADT_PATH=$HOME/adt-bundle-linux-x86_64-20131030' (provided that you extracted the ZIP archive in your home directory, and that your version is same as the one used at the time of writing this blog post)
  4. Re-read .bashrc by typing source ~/.bashrc.
  5. Try it out by seeing if you can call the `android' binary like so: $ANDROID_ADT_PATH/sdk/tools/android.


Let us know in the comments if you have any problems, or if you feel that your distribution has been left out. smiley

Good luck!

Comments
No comments yet. Be the first.