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:
Post Comments (Atom)
-
Clarity, Concurrency, Convenience I'm currently making some changes to Cucumber godog which is a behaviour driven development tool for...
-
Was looking into Java 8's functional programming features. I instantly came across a problem that functional programming in Java 8 ...
-
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 ...
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...
No comments:
Post a Comment