Skip to content

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

Open
@paulohvalipio

Description

@paulohvalipio

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions