Sha256: f8c5204e2e914a31ff69aa001c67efa4f66482e23cb60ec898bf41a2292a336a

Contents?: true

Size: 854 Bytes

Versions: 7

Compression:

Stored size: 854 Bytes

Contents

# Copyright (c) 2012-2013 Stark & Wayne, LLC

ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __FILE__)

require "rubygems"
require "bundler"
Bundler.setup(:default, :test, :development)

require "bundler/gem_tasks"

require "rake/dsl_definition"
require "rake"
require "rspec/core/rake_task"


if defined?(RSpec)
  namespace :spec do
    desc "Run Unit Tests"
    unit_rspec_task = RSpec::Core::RakeTask.new(:unit) do |t|
      t.pattern = "spec/unit/**/*_spec.rb"
      t.rspec_opts = %w(--format progress --color -d)
    end

    desc "Run Integration Tests"
    functional_rspec_task = RSpec::Core::RakeTask.new(:functional) do |t|
      t.pattern = "spec/functional/**/*_spec.rb"
      t.rspec_opts = %w(--format progress --color)
    end
  end

  desc "Install dependencies and run tests"
  task :spec => %w(spec:unit spec:functional)
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bosh-cloudfoundry-0.5.1 Rakefile
bosh-cloudfoundry-0.5.0 Rakefile
bosh-cloudfoundry-0.4.1 Rakefile
bosh-cloudfoundry-0.4.0 Rakefile
bosh-cloudfoundry-0.3.0 Rakefile
bosh-cloudfoundry-0.2.1 Rakefile
bosh-cloudfoundry-0.2.0 Rakefile