Files
MapLibreParticleLab/android/test/features/support/app_life_cycle_hooks.rb
2014-11-22 15:42:18 +11:00

14 lines
237 B
Ruby
Executable File

require 'calabash-android/management/adb'
require 'calabash-android/operations'
Before do |scenario|
start_test_server_in_background
end
After do |scenario|
if scenario.failed?
screenshot_embed
end
shutdown_test_server
end