TestNG testing framework
MicahLC and juherr Fix #1480: Priority/parallel=methods issue. (#1910)
* Fix priority/multi-threading issue.

Added some new tests, and also changed some old ones.

A few of these tests were depending on undocumented behavior that really doesn't make a big difference.

* Replace * import.

* Clean up code, make PriorityBlockingQueue optional.

* Add intercepted priority to ITestNGMethod.

* Fix issue with DependentTest running parallel, update CHANGES.txt.

* Switch to using comparator where necessary.

* Move setInterceptedPriority() block to be in intercept().

Also remove some redundant calls to Collections.sort.

* Remove import .* and System.out.println.
Latest commit ff545a9 Sep 19, 2018
Permalink
Failed to load latest commit information.
.github Adding user facing documentation to README Mar 5, 2017
bin Upgrading to JDK8 Mar 24, 2018
gradle In Java <= 7 interface methods couldn't have implementation. Since Ja… Apr 15, 2018
kobalt Support all JSR-223 compatible script engine (#1847) Jul 1, 2018
src Fix #1480: Priority/parallel=methods issue. (#1910) Sep 19, 2018
.gitignore Upgrading to JDK8 Mar 24, 2018
.mailmap Fix contributors info from commit Oct 26, 2015
.travis.yml Upgrading to JDK8 Mar 24, 2018
ANNOUNCEMENT.txt Initial commit Aug 1, 2006
CHANGES.txt Fix #1480: Priority/parallel=methods issue. (#1910) Sep 19, 2018
CHECKLIST Added CHECKLIST for releases. Jul 15, 2012
CONTRIBUTING.md Update CONTRIBUTING.md Oct 24, 2017
LICENSE.txt Initial commit Aug 1, 2006
README-publish README-publish Oct 27, 2015
README.dev Instructions updates. Dec 18, 2014
README.md Adding a contributing.md file Oct 21, 2017
appveyor.yml Use AppVeyor as Windows CI Jun 1, 2015
build-with-gradle Remove redundant cleanTest; use gradle daemon May 31, 2015
build.gradle Support all JSR-223 compatible script engine (#1847) Jul 1, 2018
deploy-to-maven Automatically close and promote on Nexus. Jul 14, 2015
gradlew In Java <= 7 interface methods couldn't have implementation. Since Ja… Apr 15, 2018
gradlew.bat In Java <= 7 interface methods couldn't have implementation. Since Ja… Apr 15, 2018
kobaltw Update Kobalt. Sep 16, 2016
settings.gradle Enforce proper project name in gradle Nov 3, 2015
travis.sh Fixing publishing problem Jun 8, 2018

README.md

Build Status Dependency Status Reference Status Maven Central Bintray License Sonarqube tech debt Sonarqube quality gate

Documentation available at TestNG's main web site.

Need help?

Before opening a new issue, did you ask your question on

If you posted on both sites, please provide the link to the other question to avoid duplicating the answer.

Are you sure it is a TestNG bug?

Before posting the issue, try to reproduce the issue in a shell window.

If the problem does not exist with the shell, first check if the issue exists on the bugtracker of the runner, and open an issue there first:

Which version are you using?

Always make sure your issue is happening on the latest TestNG version. Bug reports occurring on older versions will not be looked at quickly.

Have you considered sending a pull request instead of filing an issue?

The best way to report a bug is to provide the TestNG team with a full test case reproducing the issue. Maybe you can write a runnable test case (check the src/test/ folder for examples) and propose it in a pull request Don't worry if the CI fails because it is the expected behavior. This pull request will be a perfect start to find the fix :)

How to create a pull request?

Refer our Contributing section for detailed set of steps.

We encourage pull requests that:

  • Add new features to TestNG (or)
  • Fix bugs in TestNG

If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the TestNG-dev before you spend time working on it.