Skip to content

Report: Dependency graph ignores beforeTest and beforeSuite methods #324

Open
@martingrossmann

Description

@martingrossmann

Describe the bug
The depency graph ignores all setup methods like beforeSuite, beforeTest, afterSuite and afterTest. The graph only shows setup methods which belongs to a class (beforeClass) or a method (beforeMethod).

To Reproduce

  1. Create beforeTest and/or beforeTest methods and some test methods.
  2. Run your test with a TestNG suite file

Expected behavior
The dependency graph of every test method contains beforeTest and/or beforeSuite

Actual behavior
Actual they does not.

Environment(please complete the following information):

  • Testerra 2.3

Additional context
Also methods/setup methods tagged with groups have to be checked for dependencies.

This issue was found while fixing #72

Metadata

Metadata

Assignees

No one assigned

    Labels

    ReportNGBugs and enhancements concerning Testerra ReportNGbugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions