Speeding up your Gradle tests
Speeding up your Gradle tests
More information on the github gist: https://gist.github.com/lfzawacki/7256922
You can follow these steps to make your life easier and faster when using gradle to test your projects, I'm using this to hack away in BigBlueButton
- Setup gradle build to use the daemon, like explained here: http://www.timroes.de/2013/09/12/speed-up-gradle/
- Install the package
inotify-tools
- Create the
auto-run.sh
script on your project folder. -
Run the auto-run.sh script included in this gist like this:
$ sh auto-run.sh "srcfolder/ -r"
"srcfolder/" should be the path to your code's folder
Tests should now running automatically (and quicly!) with each code change
Auto-load
You can user Auto-reload for firefox and configure it to track build/reports/tests/index.html
and keep a Firefox window permanently open with the test results.
You're done :)
Written by Lucas
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Firefox
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#