Extend LoggingReporter to report on Sequence execution and TestAction failure
Opened this issue · 0 comments
tschlat commented
User story
As a framework user, I want to be able to extend the default behavior of LoggingReporter to meet my specific needs. This includes logging the execution of TestActions, particularly in failure cases, as well as logging the execution of SequencesBeforeTest and SequencesAfterTest. Currently, none of these events trigger callbacks to LoggingReporter.
To address this, the proposal is to enhance the LoggingReporter (or one of its related interfaces) by adding the following methods:
public void onTestActionFailed(TestCase testCase, TestAction testAction) {}
public void onBeforeTest(TestCase testCase, BeforeTest beforeTest) {}
public void onAfterTest(TestCase testCase, AfterTest afterTest) {}
public void onFinalActionsStart(TestCase testCase) {}
public void onFinalActionsEnd(TestCase testCase) {}