Sha256: cc4dd88aa4a9fd30f77976d506595d90eea82b8390b986fc7c05addf2a7faa8f

Contents?: true

Size: 702 Bytes

Versions: 1

Compression:

Stored size: 702 Bytes

Contents

require 'bundler'
require 'rspec/core/rake_task'

desc "Run Rspec unit tests"
RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = "spec/keen/**/*_spec.rb"
end

desc "Run Rspec integration tests"
RSpec::Core::RakeTask.new(:integration) do |t|
  t.pattern = "spec/integration/**/*_spec.rb"
end

desc "Run Rspec synchrony tests"
RSpec::Core::RakeTask.new(:synchrony) do |t|
  t.pattern = "spec/synchrony/**/*_spec.rb"
end

desc "Run Rspec pattern"
RSpec::Core::RakeTask.new(:pattern) do |t|
  t.pattern = "spec/#{ENV['PATTERN']}/**/*_spec.rb"
end

desc "Start a development console with local code loaded"
task :console do
  exec "irb -r keen -I ./lib"
end

task :default => :spec
task :test => [:spec]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
keen-1.1.1 Rakefile