Sha256: 5bac9c91a26d449e6b962c36d90144365763dda918df8ec111849a10e640f60e
Contents?: true
Size: 672 Bytes
Versions: 5
Compression:
Stored size: 672 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} -- #{allocator.stringify_node_tests}] system(cmd) exit($?.exitstatus) unless $?.exitstatus.zero? end end end end
Version data entries
5 entries across 5 versions & 1 rubygems