Sha256: 096291daaf815487bcfb279d678509d8833a29bc660b69ff903bfc02ef46b29b
Contents?: true
Size: 523 Bytes
Versions: 4
Compression:
Stored size: 523 Bytes
Contents
require 'rspec/core/rake_task' namespace :test do desc "Run RSpec unit tests" RSpec::Core::RakeTask.new(:unit) do |t| t.pattern = "spec/unit/**/test_*.rb" t.rspec_opts = %{-Ilib -Ispec --color --backtrace --format progress --format RspecJunitFormatter --out spec/rspec-unit.xml} 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
startback-0.7.2 | tasks/test.rake |
startback-0.7.1 | tasks/test.rake |
startback-0.7.0 | tasks/test.rake |
startback-0.6.0 | tasks/test.rake |