Sha256: 1e8b7fe3e675db1b7a26325f7ca23db85a72b133f4eada4ec420c632a65a4ba8
Contents?: true
Size: 555 Bytes
Versions: 12
Compression:
Stored size: 555 Bytes
Contents
require 'knapsack_pro' namespace :knapsack_pro do task :rspec, [:rspec_args] do |_, args| KnapsackPro::Runners::RSpecRunner.run(args[:rspec_args]) end desc "Generate JSON report for test suite based on default test pattern or based on defined pattern with ENV vars" task :rspec_test_example_detector do # ignore the `SPEC_OPTS` options to not affect RSpec execution within this rake task ENV.delete('SPEC_OPTS') detector = KnapsackPro::TestCaseDetectors::RSpecTestExampleDetector.new detector.generate_json_report end end
Version data entries
12 entries across 12 versions & 1 rubygems