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

SetUp section of random test contains @BeforeMethod for other threads if tests have been run in parallel #219

Closed
1 of 3 tasks
ilia-tadzhibaev opened this issue Apr 23, 2018 · 0 comments · Fixed by #324
Closed
1 of 3 tasks
Labels
theme:testng TestNG related issue type:bug Something isn't working work:backlog No work on this issue at the moment

Comments

@ilia-tadzhibaev
Copy link

ilia-tadzhibaev commented Apr 23, 2018

I'm submitting a ...

  • bug report
  • feature request
  • support request => Please do not submit support request here, see note at the top of this template.

What is the current behavior?

If I run tests in parallel with "mvn clean test allure:serve", Set Up section of an allure report contains @BeforeMethod calls of another test, and Set Up section of other tests doesn't contain "BeforeSuite" calls sometimes

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem

just run "mvn clean test allure:serve" several times.

What is the expected behavior?

Calls of @BeforeSuite/@BeforeMethod etc. of each test/thread are nested under a test they are related to.

What is the motivation / use case for changing the behavior?

Properly work of Allure

Please tell us about your environment:

Allure version 2.6.0
Test framework [email protected]
Allure integration [email protected]
Generate report using [email protected]

Other information

link to demo repo: https://bitbucket.org/ilia_tadzhibaev/testng-allure-parallel/

@baev baev added type:bug Something isn't working work:backlog No work on this issue at the moment theme:testng TestNG related issue labels Nov 12, 2018
@baev baev closed this as completed in #324 Feb 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
theme:testng TestNG related issue type:bug Something isn't working work:backlog No work on this issue at the moment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants