tasks/test.rake in bmg-0.17.8 vs tasks/test.rake in bmg-0.18.0
- old
+ new
@@ -4,19 +4,26 @@
tests = []
desc "Runs unit tests"
RSpec::Core::RakeTask.new(:unit) do |t|
t.pattern = "spec/unit/**/test_*.rb"
- t.rspec_opts = ["-Ilib", "-Ispec/unit", "--fail-fast", "--color", "--backtrace", "--format=progress"]
+ t.rspec_opts = ["-Ilib", "-Ispec/unit", "--color", "--backtrace", "--format=progress"]
end
tests << :unit
desc "Runs integration tests"
RSpec::Core::RakeTask.new(:integration) do |t|
t.pattern = "spec/integration/**/test_*.rb"
- t.rspec_opts = ["-Ilib", "-Ispec/integration", "--fail-fast", "--color", "--backtrace", "--format=progress"]
+ t.rspec_opts = ["-Ilib", "-Ispec/integration", "--color", "--backtrace", "--format=progress"]
end
tests << :integration
+
+ desc "Runs github regression tests"
+ RSpec::Core::RakeTask.new(:regression) do |t|
+ t.pattern = "spec/regression/**/test_*.rb"
+ t.rspec_opts = ["-Ilib", "-Ispec/regression", "--color", "--backtrace", "--format=progress"]
+ end
+ tests << :regression
task :all => tests
end
desc "Runs all tests, unit then integration on examples"