Sha256: d7ade877d7d6b2179a51c179a28d137e89f66a09e2b5413549be8f3d1bca71c2
Contents?: true
Size: 724 Bytes
Versions: 2
Compression:
Stored size: 724 Bytes
Contents
require 'rspec/core' require 'rspec/core/rake_task' RSpec::Core::RakeTask.new('spec:focus') do |task| task.rspec_opts = '--tag @focus' end RSpec::Core::RakeTask.new('spec:quick') do |task| task.rspec_opts = '--tag ~@no_db_clean --tag ~@migration' end RSpec::Core::RakeTask.new('spec:slow') do |task| task.rspec_opts = '--tag @no_db_clean --tag @migration' end task :set_simplecov_command_to_spec_quick do ENV['SIMPLECOV_COMMAND_NAME'] = 'spec:quick' end task :set_simplecov_command_to_spec_slow do ENV['SIMPLECOV_COMMAND_NAME'] = 'spec:slow' end task 'spec:quick' => ['set_simplecov_command_to_spec_quick'] task 'spec:slow' => ['set_simplecov_command_to_spec_slow'] task :spec => ['spec:quick', 'spec:slow']
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pact_broker-2.30.0 | tasks/rspec.rake |
pact_broker-2.29.0 | tasks/rspec.rake |