Sha256: 23887806f8822f7d3ab81bf6138d8f99d6af9ee8dc412b49ad742f940c25851b
Contents?: true
Size: 570 Bytes
Versions: 19
Compression:
Stored size: 570 Bytes
Contents
module KnapsackPro module Runners class CucumberRunner < BaseRunner def self.run(args) ENV['KNAPSACK_PRO_TEST_SUITE_TOKEN'] = KnapsackPro::Config::Env.test_suite_token_cucumber runner = new(KnapsackPro::Adapters::CucumberAdapter) cmd = %Q[KNAPSACK_PRO_RECORDING_ENABLED=true KNAPSACK_PRO_TEST_SUITE_TOKEN=#{ENV['KNAPSACK_PRO_TEST_SUITE_TOKEN']} bundle exec cucumber #{args} -- #{runner.stringify_test_file_paths}] Kernel.system(cmd) Kernel.exit($?.exitstatus) unless $?.exitstatus.zero? end end end end
Version data entries
19 entries across 19 versions & 1 rubygems