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

testng executes the @BeforeClass and every @Test at a different thread #1335

Closed
1 of 7 tasks
yardening2 opened this issue Feb 15, 2017 · 1 comment
Closed
1 of 7 tasks

Comments

@yardening2
Copy link

yardening2 commented Feb 15, 2017

TestNG Version

6.10

Expected behavior

The whole <test>name</test> should run on one thread

Actual behavior

each @test inside the class is executed on a different thread

Is the issue reproductible on runner?

  • Shell
  • Maven
  • Gradle
  • Ant
  • Eclipse
  • IntelliJ
  • NetBeans

Test case sample

A reopen of issue #1333
The issue has nothing to do with dependsOn, it happens with the example test I've attached to issue #1333 And there is no dependsOn there

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants