You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The TestExecutionListener implementation could replace both beforeEach and afterEach methods that are called by @MockLoggers. The main advantage is that the implementation does not require the developer to add an annotation. As a result, they can avoid errors caused by failing to add it to the test class, which could otherwise lead to changes in logger behavior.
The text was updated successfully, but these errors were encountered:
There is the article about TestExecutionListener by Priyesh Mashelkar.
The TestExecutionListener implementation could replace both
beforeEach
andafterEach
methods that are called by@MockLoggers
. The main advantage is that the implementation does not require the developer to add an annotation. As a result, they can avoid errors caused by failing to add it to the test class, which could otherwise lead to changes in logger behavior.The text was updated successfully, but these errors were encountered: