Skip to content

jUnit Extension to clean logger mocks #7

@vitalijr2

Description

@vitalijr2

I have implemented a similar plugin to the platform loggers.

It uses the same way to create loggers and have same side effects: if loggers are re-used in other tests then a tester-developer should clean invocations manually by Mockito.clearInvocations(*). I have added an extension that does that small work before and after tests.

How about adding similar extension to mock-slf4j-impl?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions