We announce that next version 2.0.0
of SLF4J mock library has been released.
Mockito
annotation do define Mocks
and Spies
for Loggers
Mock
will be created only when user declare it in test, old version created Mocks
and recorded invocations for all LoggersMocks
are bind to current thread, so testing the same Logger
in parallel is possibleMockito
plugins, so you don’t need to directly use class from this libraryExamples of usage available at project site: https://www.simplify4u.org/slf4j-mock/
Detail release info can be found at github v2.0.0.
Tags: slf4j mock testing release-note