Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend LoggingReporter to report on Sequence execution and TestAction failure #1218

Open
tschlat opened this issue Oct 1, 2024 · 0 comments
Assignees

Comments

@tschlat
Copy link
Collaborator

tschlat commented Oct 1, 2024

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 tschlat self-assigned this Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant