Sha256: fb601e03de577a57c7d15bc6ffbb772b868fa742ab27cb2bfd5d9bfe5824a725
Contents?: true
Size: 585 Bytes
Versions: 19
Compression:
Stored size: 585 Bytes
Contents
require 'calabash-android/management/app_installation' AfterConfiguration do |config| FeatureNameMemory.feature_name = nil end Before do |scenario| feature_name = scenario.feature.name if FeatureNameMemory.feature_name != feature_name log "Is first scenario - reinstalling apps" uninstall_apps install_app(ENV["TEST_APP_PATH"]) install_app(ENV["APP_PATH"]) FeatureNameMemory.feature_name = feature_name end end at_exit do # uninstall_apps end FeatureNameMemory = Class.new class << FeatureNameMemory @feature_name = nil attr_accessor :feature_name end
Version data entries
19 entries across 19 versions & 1 rubygems