devtools icon indicating copy to clipboard operation
devtools copied to clipboard

test: find way to test `Layer`

Open CrabNejonas opened this issue 2 years ago • 1 comments

Currently testing the Layer is difficult bc the data is generated through tracing macros, tracing-mock seems promising here, but can it integrate with a custom layer?

CrabNejonas avatar Sep 29 '23 16:09 CrabNejonas

#41 includes tests for Layer, but they are broken right now bc apparently tracing (inc combination with tokio?) leaks events cross-thread even if we explicitly set the subscriber to be current thread.

CrabNejonas avatar Oct 02 '23 12:10 CrabNejonas