Sha256: dee2eafe766c69cbe018c90c24415697e99d4630e79c9cacb6db2a2dc7b16225
Contents?: true
Size: 485 Bytes
Versions: 6
Compression:
Stored size: 485 Bytes
Contents
require 'knapsack' namespace :knapsack do task :rspec, [:rspec_args] do |t, args| allocator = Knapsack::AllocatorBuilder.new(Knapsack::Adapters::RspecAdapter).allocator puts puts 'Report specs:' puts allocator.report_node_tests puts puts 'Leftover specs:' puts allocator.leftover_node_tests puts cmd = %Q[bundle exec rspec #{args[:rspec_args]} --default-path #{allocator.test_dir} -- #{allocator.stringify_node_tests}] exec(cmd) end end
Version data entries
6 entries across 6 versions & 1 rubygems