Skip to content

Commit 7377354

Browse files
committed
turn off verbose Test::Unit with -w warnings
Verbose resulted in an overwhelming number of `ruby -w` style warnings from ruby. Made it hard to understand test output in failing and even passing circumstances. While hypothetically a good practice, this code is too far out of compliance to be useful -- and I don't believe most rspec-based projects are getting `ruby -w` warnings anyway.
1 parent 52aa1cc commit 7377354

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Rakefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,23 @@ namespace :test do
2020
Rake::TestTask.new('client') do |t|
2121
t.libs << ['lib', 'test/client']
2222
t.pattern = 'test/client/tc_*.rb'
23-
t.verbose = true
23+
#t.verbose = true
24+
t.warning = false
2425
end
2526

2627
Rake::TestTask.new('provider') do |t|
2728
t.libs << ['lib', 'test/provider']
2829
t.pattern = 'test/provider/tc_*.rb'
29-
t.verbose = true
30+
#t.verbose = true
31+
t.warning = false
3032
end
3133

3234
desc "Active Record base Provider Tests"
3335
Rake::TestTask.new('activerecord_provider') do |t|
3436
t.libs << ['lib', 'test/activerecord_provider']
3537
t.pattern = 'test/activerecord_provider/tc_*.rb'
36-
t.verbose = true
38+
#t.verbose = true
39+
t.warning = false
3740
end
3841

3942
desc 'Measures test coverage'

0 commit comments

Comments
 (0)