Rakefile in conjur-api-5.4.2.pre.638 vs Rakefile in conjur-api-6.0.0.pre.94
- old
+ new
@@ -21,24 +21,19 @@
begin
require 'cucumber'
require 'cucumber/rake/task'
- Cucumber::Rake::Task.new(:cucumber_4) do |t|
- t.cucumber_opts = "--tags ~@wip --format pretty --format junit --out features_v4/reports -r features_v4/step_definitions/ -r features_v4/support/ features_v4/"
- end
-
- Cucumber::Rake::Task.new(:cucumber_5) do |t|
+ Cucumber::Rake::Task.new(:cucumber) do |t|
t.cucumber_opts = "--tags ~@wip --format pretty --format junit --out features/reports"
end
begin
require 'ci/reporter/rake/rspec'
desc "Run the spec and cucumber suites, compute the test results and coverage statistics, build Yard docs"
task :jenkins_init => [ :init_coverage, :cuke_report_cleanup ]
task :jenkins_spec => [ :"ci:setup:rspec", :spec ]
- task :jenkins_cucumber_v4 => [ :cucumber_4 ]
- task :jenkins_cucumber_v5 => [ :cucumber_5 ]
+ task :jenkins_cucumber => [ :cucumber ]
rescue LoadError
warn "ci_reporter_rspec not found, jenkins task will be unavailable"
end
rescue LoadError
warn "cucumber not found, cucumber task will be unavailable"