Skip to content

Latest commit

 

History

History
65 lines (45 loc) · 1.77 KB

File metadata and controls

65 lines (45 loc) · 1.77 KB

Android Cluster for Testing

With Android Cluster for Testing you can run Android Units Tests on any Android version at the same time.

Prerequisite

  • Requires Docker. You can get it here https://get.docker.com :

    curl -sSL https://get.docker.com | sh -
  • Android SDK (Need system images)

  • In webapp/emulator.sh you need to replace /opt/android-sdk with the path of your SDK

Installation

Easy mode

git pull https://github.com/dockerparis/android-test-cluster.git
./build.sh # Build your images correctly
./run.sh # Launch web UI container with correct options

Expert mode

git pull https://github.com/dockerparis/android-test-cluster.git

# Build your image
cd webapp && docker build -t android-cluster-ui .
cd android-emulator && docker build -t android-cluster-qemu .

# Launch Web UI container with Docker socket
docker run -v $(readlink -f /var/run/docker.sock):$(readlink -f /var/run/docker.sock) -d android-cluster-ui

Ideas of features to implement

  • Hardware configuration
  • Screenshots of tests
  • Account system (GitHub integration with public/private repo)
  • Swarm integration
  • Auto mailing
  • Android NDK support
  • Live test with VNC/html5/websocket
  • Better UI/UX
  • A better conception (REST API between Android VM and UI container)

Authors

Thanks

Special thanks to these guys who helped us during this hackathon :