Sha256: 5f93e259eb00525cd8889dff71b76d9e4dcb8ebb015aecb49963598e69363282
Contents?: true
Size: 877 Bytes
Versions: 1
Compression:
Stored size: 877 Bytes
Contents
require 'kraken-mobile/device_process.rb' class WebProcess < DeviceProcess #------------------------------- # Required methods #------------------------------- def before_execute register_process_to_directory device.create_inbox end def after_execute device.delete_inbox end def execute open(execution_command, 'r') do |output| loop do $stdout.print output.readline.to_s $stdout.flush end end $CHILD_STATUS.exitstatus rescue EOFError nil end private def execution_command feature_path = test_scenario.feature_file.file_path raise 'ERROR: Invalid feature file path' if feature_path.nil? # TODO, only execute one file "|cucumber --tags @user#{id}\ --require features/web/step_definitions/web_steps.rb \ --require features/web/support/app_life_cycle_hooks.rb" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kraken-mobile-1.0.5 | lib/kraken-mobile/web/web_process.rb |