Sha256: 522407bb7c32e2898d76652907f8d204c697757510af2de0f6784e2cf2e231f0
Contents?: true
Size: 707 Bytes
Versions: 3
Compression:
Stored size: 707 Bytes
Contents
module Knapsack module Runners class SpinachRunner def self.run(args) allocator = Knapsack::AllocatorBuilder.new(Knapsack::Adapters::SpinachAdapter).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 spinach #{args} --features_path #{allocator.test_dir} -- #{allocator.stringify_node_tests}] system(cmd) exit($?.exitstatus) unless $?.exitstatus.zero? end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
knapsack-1.13.0 | lib/knapsack/runners/spinach_runner.rb |
knapsack-1.12.2 | lib/knapsack/runners/spinach_runner.rb |
knapsack-1.12.1 | lib/knapsack/runners/spinach_runner.rb |