Rakefile in mynyml-phocus-0.9.8 vs Rakefile in mynyml-phocus-0.9.9
- old
+ new
@@ -20,11 +20,11 @@
end
end
spec = Gem::Specification.new do |s|
s.name = 'phocus'
- s.version = '0.9.8'
+ s.version = '0.9.9'
s.summary = "Run focused tests on test/unit."
s.description = "Tell test/unit exactly which tests you want run. It will ignore all the other ones and let you concentrate on a few."
s.author = "Martin Aumont"
s.email = 'mynyml@gmail.com'
s.homepage = ''
@@ -61,6 +61,19 @@
end
desc "Uninstall gem"
task :uninstall => :clean do
sh "#{SUDO} #{gem} uninstall -v #{spec.version} -x #{spec.name}"
+end
+
+desc "run framework compatibility tests"
+task :test_all do
+ paths = %w(
+ test/compat/test_contest.rb
+ test/compat/test_context.rb
+ test/compat/test_minitest.rb
+ test/compat/test_shoulda.rb
+ test/compat/test_test_unit.rb
+ test/test_phocus.rb
+ )
+ paths.each {|path| system("ruby #{path}") }
end