Tuesday, 15 December 2015
SLF4JLogging Testing
Every so often I need to test some logging. At the same time I prefer my tests to run concurrently.
The other log testing frameworks end up using singletons and horrors like the StaticLogBinder.
I got sick of writing similar log mocking code and providing examples of how to inject the logging impl using dependency injection rather than statics.
The up shot of this is that I wrote my own test utility implementation
https://github.com/portingle/slf4jtesting
Subscribe to:
Posts (Atom)
-
Clarity, Concurrency, Convenience I'm currently making some changes to Cucumber godog which is a behaviour driven development tool for...
-
Visited Saturday April 13th 2019 The following timeline was what I achieved as a lone adult visiting KSC for the first time. I think if m...
-
A friend recently drew my attention to Google's networking innovation, QUIC, Google's alternative to HTTPS over TCP. It's a bett...
Recommended Pattern for Shared State in GoDog
Clarity, Concurrency, Convenience I'm currently making some changes to Cucumber godog which is a behaviour driven development tool for...