Sha256: 84ad178c19ccb95f5b06e70d74aaa8066cb98a1d85a57c7c599a45a91970d953

Contents?: true

Size: 396 Bytes

Versions: 16

Compression:

Stored size: 396 Bytes

Contents

namespace :test do

  desc "Run RSpec unit tests"
  task :unit do
    system("rspec -Ilib -Ispec --pattern 'spec/unit/**/test_*.rb' --color --backtrace --fail-fast")
  end

  desc "Run the tests in the examples folder"
  task :example do
    Bundler.with_original_env do
      system("cd example && bundle exec rake")
    end
  end

  task :all => [:unit, :example]
end
task :test => :'test:all'

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
startback-0.5.5 tasks/test.rake
startback-0.5.4 tasks/test.rake
startback-0.5.3 tasks/test.rake
startback-0.5.2 tasks/test.rake
startback-0.5.1 tasks/test.rake
startback-0.5.0 tasks/test.rake
startback-0.4.5 tasks/test.rake
startback-0.4.4 tasks/test.rake
startback-0.4.3 tasks/test.rake
startback-0.4.2 tasks/test.rake
startback-0.4.1 tasks/test.rake
startback-0.4.0 tasks/test.rake
startback-0.3.2 tasks/test.rake
startback-0.3.1 tasks/test.rake
startback-0.3.0 tasks/test.rake
startback-0.2.0 tasks/test.rake