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

reportHooks parameter support to determines report before and after hooks #65

Open
paulohvalipio opened this issue Aug 24, 2024 · 0 comments

Comments

@paulohvalipio
Copy link

paulohvalipio commented Aug 24, 2024

Hi There,

I use beforeEach to perform preconditions, such as activating parameters and afterEach to deactivate parameters related to tests. In the functions within the hooks there are calls to log the actions in the reportportal and it is very important that the defined logs are reported in the reportportal. The possibility of reporting hook logs is very important for understanding the entire test execution flow and for other purposes. A very important detail to consider is the use of logs to debug errors that occur in the beforeEach and afterEach hooks, as they are not logged in the reportportal this masks the identification of errors, which I have some scenarios happening and it is difficult to identify where The error is due to the hooks not being reported in the reportportal.

Thanks!

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