Sha256: 3490fe41e23709a189c53074a7c08cf512167927e38030455e0c3ac80981cb14
Contents?: true
Size: 590 Bytes
Versions: 4
Compression:
Stored size: 590 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
4 entries across 4 versions & 1 rubygems