Permalink
Browse files

A quick smoke test.

Runs in under 2s, gives me a vague feel for the common case.
  • Loading branch information...
1 parent 7ecc236 commit 6022e8cf291f9ab84ee98f1323b2873268e7f7c0 @tomlea tomlea committed Mar 9, 2012
Showing with 13 additions and 0 deletions.
  1. +12 −0 Rakefile
  2. +1 −0 test/smoke_test.rb
View
@@ -15,5 +15,17 @@ Rake::TestTask.new("test:integration") do |t|
t.pattern = "test/integration/**/*_test.rb"
end
+Rake::TestTask.new("test:smoke:paranoid") do |t|
+ t.libs << "test" << "lib"
+ t.pattern = "test/smoke_test.rb"
+end
+
+desc "Run the smoke tests, faster."
+task "test:smoke" do
+ $:.unshift("lib").unshift("test")
+ require "smoke_test"
+end
+
+task :st => "test:smoke"
task :test => "test:integration"
task :default => :test
View
@@ -0,0 +1 @@
+require "integration/pushing_gems/basic_test"

0 comments on commit 6022e8c

Please sign in to comment.