Sha256: 88c0573012a75e8cc7b4f91ba2064650559285ad0ac1d10d389a5c2775c2d26e
Contents?: true
Size: 708 Bytes
Versions: 48
Compression:
Stored size: 708 Bytes
Contents
# frozen_string_literal: true 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
48 entries across 48 versions & 2 rubygems