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

Report: Dependency graph ignores beforeTest and beforeSuite methods #324

Open
martingrossmann opened this issue May 15, 2023 · 0 comments
Open
Labels
bug Something isn't working ReportNG Bugs and enhancements concerning Testerra ReportNG

Comments

@martingrossmann
Copy link
Contributor

martingrossmann commented May 15, 2023

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

@martingrossmann martingrossmann added bug Something isn't working ReportNG Bugs and enhancements concerning Testerra ReportNG labels May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ReportNG Bugs and enhancements concerning Testerra ReportNG
Projects
None yet
Development

No branches or pull requests

1 participant