resque/resque — pull request #1087 by adelcambre (2013-07-18 00:59:09+00:00)
Title: The resque-2.0 tests are so noisy!

This quiets down the tests when you run them locally. It was very hard to see what was happening before.

After:

```
$ rake test
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.
Run options: --seed 25674

# Running tests:

.........................................................................................

Finished tests in 4.454187s, 19.9812 tests/s, 31.8801 assertions/s.

89 tests, 142 assertions, 0 failures, 0 errors, 0 skips
[Coveralls] Outside the Travis environment, not sending data.
```

Before:

```
$ rake test
/opt/boxen/rbenv/versions/1.9.3-p392/bin/ruby -I"lib:test/resque:lib" -w -I"/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib" "/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rake-10.1.0/lib/rake/rake_test_loader.rb" "test/resque/backend_test.rb" "test/resque/child_process_test.rb" "test/resque/cli_test.rb" "test/resque/coder_test.rb" "test/resque/config_test.rb" "test/resque/core_ext/hash_test.rb" "test/resque/core_ext/string_test.rb" "test/resque/failure/each_test.rb" "test/resque/failure/redis_multi_queue_test.rb" "test/resque/failure/redis_test.rb" "test/resque/job_performer_test.rb" "test/resque/logging_test.rb" "test/resque/multi_queue_test.rb" "test/resque/worker_queue_list_test.rb" "test/resque/worker_test.rb"
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/simplecov-html-0.7.1/lib/simplecov-html.rb:57: warning: assigned but unused variable - title_id
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/coveralls-0.6.7/lib/coveralls.rb:66: warning: `&' interpreted as argument prefix
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/coveralls-0.6.7/lib/coveralls.rb:72: warning: `&' interpreted as argument prefix
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/coveralls-0.6.7/lib/coveralls/api.rb:20: warning: (...) interpreted as grouped expression
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/coveralls-0.6.7/lib/coveralls/api.rb:22: warning: (...) interpreted as grouped expression
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/coveralls-0.6.7/lib/coveralls/api.rb:25: warning: (...) interpreted as grouped expression
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/coveralls-0.6.7/lib/coveralls/api.rb:27: warning: (...) interpreted as grouped expression
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/exceptions.rb:157: warning: assigned but unused variable - message
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/exceptions.rb:167: warning: assigned but unused variable - message
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/response.rb:11: warning: method redefined; discarding old body
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/payload.rb:47: warning: mismatched indentations at 'end' with 'case' at 40
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's default settings.
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor/base.rb:593: warning: instance variable @no_commands not initialized
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:382: warning: instance variable @long_desc not initialized
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:382: warning: instance variable @long_desc not initialized
/Users/adelcambre/github/resque/test/resque/worker_test.rb:30: warning: assigned but unused variable - worker
Run options: --seed 40249

# Running tests:

........./opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:317: warning: instance variable @stop_on_unknown_option not initialized
./opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:317: warning: instance variable @stop_on_unknown_option not initialized
./opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:317: warning: instance variable @stop_on_unknown_option not initialized
./opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:317: warning: instance variable @stop_on_unknown_option not initialized
./opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:317: warning: instance variable @stop_on_unknown_option not initialized
./opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/thor-0.18.1/lib/thor.rb:317: warning: instance variable @stop_on_unknown_option not initialized
...................................................I, [2013-07-17T17:57:35.005383 #76728] INFO -- : Running before_pause hooks with [#]
I, [2013-07-17T17:57:35.005449 #76728] INFO -- : Running after_pause hooks with [#]
.I, [2013-07-17T17:57:35.005548 #76728] INFO -- : Running before_pause hooks with [#]
I, [2013-07-17T17:57:35.005585 #76728] INFO -- : Running after_pause hooks with [#]
.I, [2013-07-17T17:57:35.015598 #76728] INFO -- : Running before_pause hooks with [#]
I, [2013-07-17T17:57:35.015691 #76728] INFO -- : Running after_pause hooks with [#]
......................

Finished tests in 4.997810s, 17.8078 tests/s, 28.4124 assertions/s.

89 tests, 142 assertions, 0 failures, 0 errors, 0 skips
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/multi_json-1.7.7/lib/multi_json.rb:10: warning: instance variable @cached_options not initialized
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/coveralls-0.6.7/lib/coveralls.rb:83: warning: instance variable @testing not initialized
[Coveralls] Outside the Travis environment, not sending data.
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/coveralls-0.6.7/lib/coveralls.rb:96: warning: instance variable @noisy not initialized
/opt/boxen/rbenv/versions/1.9.3-p392/lib/ruby/gems/1.9.1/gems/simplecov-0.7.1/lib/simplecov/defaults.rb:57: warning: instance variable @exit_status not initialized
```