1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
mperham--sidekiq/lib/sidekiq
Ryan Schlesinger fd0232eb15 Add dynamic testing
In addition to requiring 'sidekiq/testing' and 'sidekiq/testing/inline',
a user can also call the following methods to control the test harness:

Sidekiq::Testing.fake!
Sidekiq::Testing.inline!
Sidekiq::Testing.disable!

Each of the above methods also accepts a block to execute within that
context before reverting to the state present before method invocation.

To query the current state, use the following methods:

Sidekiq::Testing.enabled?
Sidekiq::Testing.disabled?
Sidekiq::Testing.fake?
Sidekiq::Testing.inline?

Closes #1053
2013-09-23 12:07:23 -07:00
..
extensions Document methods and make documentation uniform for extensions 2013-06-01 12:40:24 +05:30
middleware Minor refactoring of chain 2013-09-12 14:14:17 -07:00
testing Add dynamic testing 2013-09-23 12:07:23 -07:00
actor.rb Modern celluloid now stable for testing purposes, yay! 2013-06-07 22:15:13 -07:00
api.rb API should use UTC 2013-08-15 20:06:16 -07:00
capistrano.rb add capistrano option sidekiq_default_hooks with compatibility 2013-06-03 13:01:29 +02:00
cli.rb Rails 4 is supported 2013-09-22 14:05:41 -07:00
client.rb Allow configuring worker defaults 2013-09-07 18:54:13 +02:00
core_ext.rb Add symbolize_keys core ext 2012-12-30 13:33:06 -08:00
exception_handler.rb Whoa, reason is actually an Exception. Didn't know that. 2013-09-22 20:48:17 -07:00
fetch.rb Add Sidekiq::Actor which provides a testable alternative to Celluloid 2013-05-10 22:12:44 -07:00
launcher.rb Whoa, reason is actually an Exception. Didn't know that. 2013-09-22 20:48:17 -07:00
logging.rb Close old logger when rotating, fixes #1008 2013-06-18 13:44:19 -07:00
manager.rb Change watchdog to propagate exceptions so Sidekiq quickly dies, #1194. 2013-09-22 14:05:29 -07:00
paginator.rb Add pagination to Web UI 2012-07-17 22:14:15 -07:00
processor.rb Avoid calling processor during hard shutdown, fixes #997 2013-06-10 22:20:15 -07:00
rails.rb Remove optionality of Rails hooks, #401 2012-09-20 20:04:25 -07:00
redis_connection.rb Don't use the NAME constant here, then Pro bootup is confusing 2013-08-10 12:37:17 -07:00
scheduled.rb Remove 'at' property so it doesn't confuse Client 2013-05-24 20:34:26 -07:00
testing.rb Add dynamic testing 2013-09-23 12:07:23 -07:00
util.rb Change watchdog to propagate exceptions so Sidekiq quickly dies, #1194. 2013-09-22 14:05:29 -07:00
version.rb Update changes, version 2013-09-21 17:05:45 -07:00
web.rb Show errors for retried jobs 2013-09-19 12:12:56 +02:00
worker.rb Allow configuring worker defaults 2013-09-07 18:54:13 +02:00
yaml_patch.rb Not sure what to do with this so it's here if someone wants to use it, #152 2012-04-27 21:44:34 -07:00