Try any android library on your smartphone directly from the command line
A dry run is a testing process where the effects of a possible failure are intentionally mitigated. For example, an aerospace company may conduct a "dry run" test of a jet's new pilot ejection seat while the jet is parked on the ground, rather than while it is in flight.
dryrun https://github.com/cesarferreira/android-helloworld
Wait a few seconds... and voilà
! The app is opened on your phone 😃
- From a custom repository folder:
dryrun REPOSITORY_URL -p CUSTOM/PATH/TO/GRADLE_APPLICATION
- A custom module:
dryrun REPOSITORY_URL -m CUSTOM_APPLICATION_MODULE
- Help at any time:
dryrun -h
-
Private repos can be tested too 😃
-
assuming that you have the corresponding
private ssh keys
in your~./ssh/
-
$ dryrun [email protected]:cesarferreira/android-helloworld.git
-
-
No need to cleanup after you test the library.
- Your operating system will clean the /tmp/ folder for you.
-
No need to wait for Android Studio to load.
- Find the github's repository url
- Click the
download zip
- Extract the
zip file
- Open Android Studio
- Import the project you just downloaded
- Sync gradle
- Run the project
- Choose the device you want to run
- Test all you want
- Delete the
project folder
and thezip file
when you don't want it anymore
$ gem install dryrun
Requirements (if you haven't already)
:
$ANDROID_HOME defined on the environment variables (how-to)
Android SDK in your $PATH (how-to)
Bug reports and pull requests are welcome on GitHub at https://github.com/cesarferreira/dryrun.