Sha256: 8e3533960170c70b0fb7c5c52dfe07f0a2ba3fa7a36e49a6ae06dae7cec1dfda
Contents?: true
Size: 733 Bytes
Versions: 11
Compression:
Stored size: 733 Bytes
Contents
require 'calabash-android/management/adb' Before do |scenario| # John Gallagher provided the "scenario_is_outline" fix: https://groups.google.com/forum/?fromgroups#!topic/calabash-ios/ICA4f24eSsY # ...there may be a better way of doing this... @scenario_is_outline = (scenario.class == Cucumber::Ast::OutlineTable::ExampleRow) if @scenario_is_outline scenario = scenario.scenario_outline # Still need to call connect_to_test_server... elsif scenario.failed? return #No need to start the server is anything before this has failed. end return if scenario.failed? #No need to start the server is anything before this has failed. start_test_server_in_background end After do shutdown_test_server end
Version data entries
11 entries across 11 versions & 1 rubygems