class Guard::GradleAndroidTest
Constants
- VERSION
Public Class Methods
new(options = {})
click to toggle source
Calls superclass method
# File lib/guard/gradle-android-test.rb, line 8 def initialize(options = {}) super @notifier = Notifier.new end
template(plugin_location)
click to toggle source
# File lib/guard/gradle-android-test.rb, line 25 def self.template(plugin_location) # Guardfile path File.read("#{ plugin_location }/lib/guard/gradle-android-test/templates/Guardfile") end
Public Instance Methods
run_all()
click to toggle source
# File lib/guard/gradle-android-test.rb, line 17 def run_all _run end
run_on_changes(paths)
click to toggle source
# File lib/guard/gradle-android-test.rb, line 21 def run_on_changes(paths) _run end
start()
click to toggle source
# File lib/guard/gradle-android-test.rb, line 13 def start UI.info "Guard::GradleAndroidTest is running" end
Private Instance Methods
_run()
click to toggle source
# File lib/guard/gradle-android-test.rb, line 31 def _run UI.info "Running..." result = Kernel.system("./gradlew --daemon test -i") @notifier.notify(result) end