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

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...