Skip to content

Insert syntetic testcase for failing beforeall and afterall hooks.Β #153

Description

@mpkorstanje

πŸ€” What's the problem you're trying to solve?

Failure of the before-all and after-all hooks is currently not reported on.

✨ What's your proposed solution?

Hooks are not bound to test cases, so there is no way to represent them in the report. Inserting a synthetic testcase for failing beforeall and afterall hooks could solve that.

⛏ Have you considered any alternatives or workarounds?

Cucumber will exit with a non-zero exit code. The summary plugin does log the failing hooks. So the error will not be unnoticed.

πŸ“š Any additional context?

The testng-xml-formatter probably has the same problem.

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