Sha256: e16d5361cd3863cf5b8d45dc54ba307691e62d4388c04907dc46192b3d19e414
Contents?: true
Size: 539 Bytes
Versions: 6
Compression:
Stored size: 539 Bytes
Contents
Before do |scenario| begin Step_index = 0 Step_line = scenario.raw_steps[Step_index].line rescue Exception => e puts "#{Time.now} - Exception:#{e}" end end After do |scenario| #rotate_phone(0) #puts "#{Time.now} - Closing connection to test" #Client.close #Wait a few secs sleep(2) end AfterStep do |scenario| #Håndtering af den situation hvor Feature/Scenario/steps er mulitline Step_index = Step_index + 1 Step_line = scenario.raw_steps[Step_index].line unless scenario.raw_steps[Step_index].nil? end
Version data entries
6 entries across 6 versions & 1 rubygems