Testing with Sidekiq #244
Unanswered
adamsosterics
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We added some middlewares to Sidekiq that enhances the information we are logging and we'd like to write some (RSpec) tests that checks whether the logs are correct.
On https://logger.rocketjob.io/testing.html we saw that we can use
SemanticLogger::Test::CaptureLogEvents
to check what has been logged, but we are not sure how to tell Sidekiq to use that logger.So we would like to have something like this:
Can you point us in the right direction? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions