Sha256: 1c29bdb3cd9a4753578e41524835b0ea4093e205af4728b88d0a641f8f68ec2a
Contents?: true
Size: 972 Bytes
Versions: 5
Compression:
Stored size: 972 Bytes
Contents
require 'rake' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new(:integration) do |t| # excludes unit tests as those involve many iterations # and sometimes suffer from obscure interference from integration tests (!) t.pattern = ["spec/higher_level_api/integration", "spec/lower_level_api/integration", "spec/issues", "spec/stress"]. map { |dir| Dir.glob(File.join(dir, "**", "*_spec.rb")) }.reduce(&:+) - ["spec/higher_level_api/integration/tls_connection_spec.rb"] t.rspec_opts = "--format progress" end RSpec::Core::RakeTask.new(:unit) do |t| t.pattern = Dir.glob("spec/unit/**/*_spec.rb") t.rspec_opts = "--format progress --backtrace" end RSpec::Core::RakeTask.new(:recovery_integration) do |t| # otherwise all examples will be skipped ENV.delete("CI") t.pattern = Dir.glob("spec/higher_level_api/integration/connection_recovery_spec.rb") t.rspec_opts = "--format progress --backtrace" end task :default => :integration
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
bunny-2.6.1 | Rakefile |
bunny-2.6.0 | Rakefile |
bunny-2.5.1 | Rakefile |
bunny-2.5.0 | Rakefile |
bunny-2.4.0 | Rakefile |