citrus icon indicating copy to clipboard operation
citrus copied to clipboard

Extend LoggingReporter to report on Sequence execution and TestAction failure

Open tschlat opened this issue 1 year ago • 0 comments

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) {} 

tschlat avatar Oct 01 '24 09:10 tschlat