Sha256: f04bb626110994899a6ee75b27a8b549351fa0424fdaa4433e82b7f044655ad7
Contents?: true
Size: 495 Bytes
Versions: 1
Compression:
Stored size: 495 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}] system(cmd) exit($?.exitstatus) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
knapsack-1.1.1 | lib/tasks/knapsack_cucumber.rake |