Sha256: a6069f493f1fd8a466db62eeefb81bb382fb06cba7064f3eaa402b8c43208401
Contents?: true
Size: 703 Bytes
Versions: 20
Compression:
Stored size: 703 Bytes
Contents
module Knapsack module Runners class CucumberRunner def self.run(args) allocator = Knapsack::AllocatorBuilder.new(Knapsack::Adapters::CucumberAdapter).allocator Knapsack.logger.info Knapsack.logger.info 'Report features:' Knapsack.logger.info allocator.report_node_tests Knapsack.logger.info Knapsack.logger.info 'Leftover features:' Knapsack.logger.info allocator.leftover_node_tests Knapsack.logger.info cmd = %Q[bundle exec cucumber #{args} --require #{allocator.test_dir} -- #{allocator.stringify_node_tests}] system(cmd) exit($?.exitstatus) unless $?.exitstatus == 0 end end end end
Version data entries
20 entries across 20 versions & 1 rubygems