Last active
August 3, 2020 09:07
-
-
Save mfittko/d262267f60e4b97ce4274bd4793b50d3 to your computer and use it in GitHub Desktop.
In order to have full working coverage (includign lib folder) we needed to make sure to start simplecov coverage reporting befor the knapsack rspec task was invoked...
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require_relative '../../spec/support/simple_cov_helper.rb' | |
SimpleCovHelper.report_coverage('integration') | |
load "#{Gem::Specification.find_by_name('knapsack_pro').gem_dir}/lib/tasks/queue/rspec.rake" | |
Rake::Task['knapsack_pro:queue:rspec'].invoke('--format doc --format RSpec::Instafail --tag ~skip --format RspecJunitFormatter --out tmp/test_results/spec/integration.xml') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment