Sha256: cfb16e26415598df10333e422f530844228984ad35f1f8db9f491d9589dfd656

Contents?: true

Size: 663 Bytes

Versions: 1

Compression:

Stored size: 663 Bytes

Contents

require "rspec/core/rake_task"
namespace :test do

  desc "Run unit tests"
  RSpec::Core::RakeTask.new(:unit) do |t|
    t.pattern = "spec/unit/**/test_*.rb"
    t.fail_on_error = true
    t.failure_message = nil
    t.verbose = true
    t.rspec_path = "rspec"
    t.rspec_opts = ["--color", "--backtrace"]
  end

  desc "Run unit tests"
  RSpec::Core::RakeTask.new(:integration) do |t|
    t.pattern = "spec/integration/**/test_*.rb"
    t.fail_on_error = true
    t.failure_message = nil
    t.verbose = true
    t.rspec_path = "rspec"
    t.rspec_opts = ["--color", "--backtrace"]
  end

  task :all => [ :unit, :integration ]
end
task :test => [ :"test:all" ]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sexpr-0.6.0 tasks/test.rake