Sha256: ad52f3d1f715068cfb17ac400ed2eceddf37ce6727cf9ff91b30c5429db26969
Contents?: true
Size: 683 Bytes
Versions: 5
Compression:
Stored size: 683 Bytes
Contents
require 'kraken-mobile/runners/calabash/android/android_runner' require 'kraken-mobile/runners/calabash/monkey/monkey_runner' require 'kraken-mobile/constants' module KrakenMobile class App # Constructors def initialize(options) @options = options @runner = current_runner end # Helpers def run_in_parallel @runner.run_in_parallel end def current_runner case @options[:runner] when KrakenMobile::Constants::CALABASH_ANDROID Runner::CalabashAndroidRunner.new(@options) when KrakenMobile::Constants::MONKEY Runner::MonkeyRunner.new(@options) else raise "Invalid Kraken runner." end end end end
Version data entries
5 entries across 5 versions & 1 rubygems