Sha256: 9bc19f11b12df28e2b02619f19d5fa8839cbc2ddd5bfcd90a8029ed843b96356
Contents?: true
Size: 469 Bytes
Versions: 6
Compression:
Stored size: 469 Bytes
Contents
require 'knapsack' namespace :knapsack do task :cucumber, [:cucumber_args] do |t, args| allocator = Knapsack::AllocatorBuilder.new(Knapsack::Adapters::CucumberAdapter).allocator puts puts 'Report features:' puts allocator.report_node_tests puts puts 'Leftover features:' puts allocator.leftover_node_tests puts cmd = %Q[bundle exec cucumber #{args[:cucumber_args]} -- #{allocator.stringify_node_tests}] exec(cmd) end end
Version data entries
6 entries across 6 versions & 1 rubygems