Sha256: b261574aeb2e3a1cd0f76c1f1316ab66de757a5525f3749a115e829a0b8d2a26
Contents?: true
Size: 731 Bytes
Versions: 20
Compression:
Stored size: 731 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Rdkafka::Callbacks do # The code in the call back functions is 100% covered by other specs. Due to # the large number of collaborators, and the fact that FFI does not play # nicely with doubles, it was very difficult to construct tests that were # not over-mocked. # For debugging purposes, if you suspect that you are running into trouble in # one of the callback functions, it may be helpful to surround the inner body # of the method with something like: # # begin # <method body> # rescue => ex; puts ex.inspect; puts ex.backtrace; end; # # This will output to STDOUT any exceptions that are being raised in the callback. end
Version data entries
20 entries across 20 versions & 2 rubygems