Changelog
*Sourced from [testng's changelog](https://github.com/cbeust/testng/blob/master/CHANGES.txt).*
> Current
> Fixed: GITHUB-2080: Wrong text for assertTrue (Jiong Fu)
> Fixed: GITHUB-2121: SoftAssert: allow custom message (dr29bart)
> Fixed: GITHUB-2110: NPE is thrown when running with Thread affinity (Krishnan Mahadevan)
> Fixed: GITHUB-2069: JUnit TestSuite not handled correctly in Reports (Krishnan Mahadevan)
> Fixed: GITHUB-2075: Thread interrupt flag persists between test methods (Krishnan Mahadevan)
> Fixed: GITHUB-2074: Thread Interrupted when using expectedException (Krishnan Mahadevan)
> Fixed: GITHUB-2802: some methods' javadoc in ISuiteListener and ITestListener is misleading (Yehui Wang)
> Fixed: GITHUB-2061: java.util.ConcurrentModificationException after registration of SuiteListener at the runtime (Krishnan Mahadevan)
> Fixed: GITHUB-2055: It's not possible to register a new ITestListener at the runtime (Krishnan Mahadevan)
> Fixed: GITHUB-1035: [@BeforeClass](https://github.com/BeforeClass) not executed in parallel when parallel="instances" (Krishnan Mahadevan)
> Fixed: GITHUB-2043: IConfigurationListener is not executed and IDataProviderListener is not added to the list of the listeners if a new listener is added at the runtime (Krishnan Mahadevan)
> Fixed: GITHUB-1835: Configurable ThreadPoolExecutor (Krishnan Mahadevan)
> Fixed: GITHUB-1691: Support reading data provider information from Class level [@Test](https://github.com/Test) annotation (Krishnan Mahadevan)
> Fixed: GITHUB-326: When group-by-instances is set to true the instances created by [@Factory](https://github.com/Factory) does not run in parallel (Krishnan Mahadevan)
> Fixed: GITHUB-1930: Running testng-failed.xml correctly runs failed test in child class but incorrectly runs all tests in base class (Krishnan Mahadevan)
> Fixed: GITHUB-1987: Retrieve the data provider method's reference from the test method (Krishnan Mahadevan)
> Fixed: GITHUB-1976: Add a proper message when types are missing during annotation parsing (Krishnan Mahadevan)
> Fixed: GITHUB-2000: ThreadPoolExecutor ConcurrentModificationException (Krishnan Mahadevan)
> Fixed: GITHUB-2022: Suite.xml files make web request when suite uses DTD over HTTPS (Krishnan Mahadevan)
> Fixed: GITHUB-2017: Don't use child injectors for Guice tests (Joe Barnett)
> New: GITHUB-2003: Add to [@Test](https://github.com/Test) interface fields IDs and issues (Krishnan Mahadevan)
> Fixed: GITHUB-2009: Test Timeout not respected in parallel="methods" mode (Krishnan Mahadevan)
> Fixed: GITHUB-2008: Preserve parameters in each class and not all of the test parameters
> Fixed: GITHUB-1981: Fixes NPE in Assert.assertEquals when an array contains null (Maneesh MS)
> New: Upgrade to gradle5
> New: Added a method in Assertion class to allow downstream TestNG consumers to override the error message (Ryan Laseter)
> Fixed: GITHUB-165: [@AfterGroups](https://github.com/AfterGroups) is not executed when group member fails or is skipped (Krishnan Mahadevan)
> Fixed: GITHUB-118: [@BeforeGroups](https://github.com/BeforeGroups) only called if group is specified explicitly (Krishnan Mahadevan)
> Fixed: GITHUB-182: Inherited test methods do not get expected group behavior (Krishnan Mahadevan)
> Fixed: GITHUB-1988: Add Automatic-Module-Name to MANIFEST.MF (Krishnan Mahadevan)
> Fixed: GITHUB-1985: Custom "IMethodSelector" implementation doesn't filter methods properly (Krishnan Mahadevan)
> Fixed: GITHUB-993: Handle null test names from ITest implementation (Krishnan Mahadevan)
> Fixed: GITHUB-1942: assertDeepEquals takes long time to evaluate size mismatch (Kumaran Bharathan)
> Fixed: GITHUB-1967: IInvokedMethod ITestResult status set as -1 for test methods skipped due to config failure (Krishnan Mahadevan)
> Fixed: GITHUB-1952: Provide a TestNGListener that can be invoked when a test fails due to a timeout (Krishnan Mahadevan)
> Fixed: GITHUB-1953: TestNG throws a misleading error when [@Factory](https://github.com/Factory) method returns empty array. (Krishnan Mahadevan)
> Fixed: GITHUB-1946: Retry analyzer does not work properly when coupled with a data provider (Krishnan Mahadevan)
> Fixed: GITHUB-1924: Testclass instantiation fails when both no-arg constructor and factory method present (Krishnan Mahadevan)
> Fixed: GITHUB-1935: Wrong text for assertEquals (Krishnan Mahadevan)
> Fixed: GITHUB-1931: [NPE] Reporter org.testng.reporters.jq.Main failed (Krishnan Mahadevan, Oleg Shaburov)
> New: Remove raw type warnings in ConversionUtils
> Fixed: GITHUB-1480: Parallel=methods not working when tests have different priorities set (Micah Lapping-Carr)
> Fixed: GITHUB-1041: Factory data-provider parameters not displayed in test-result (Krishnan Mahadevan)
> Fixed: GITHUB-1901: The overall reported Test time for suite containing parallel tests should be max(tests_times) (Krishnan Mahadevan)
> Fixed: GITHUB-1893: Streamline invocation of "init" method within TestResult to be private (Krishnan Mahadevan)
> Fixed: GITHUB-1892: Configurable InvokedMethodListener (Krishnan Mahadevan)
> Fixed: GITHUB-435: Apply at suite level to all tests (Siegmar Alber)
> Fixed: GITHUB-1870: Fix Ambiguous behavior of IInvokedMethodListener by clarifying javadocs(Krishnan Mahadevan)
> Fixed: GITHUB-1878: Provide visibility into the actual method (config/test) that caused a downstream test to be skipped (Krishnan Mahadevan)
> ... (truncated)
Commits
- [`2858327`](https://github.com/cbeust/testng/commit/28583270df328428c4f889f3da2f5bef93c02adc) Update Version.java to 7.0.0.
- [`207a8d8`](https://github.com/cbeust/testng/commit/207a8d82df85db671e9e430db3d27d805b5b08e8) Gradle 5.6.
- [`cbc4418`](https://github.com/cbeust/testng/commit/cbc4418ca779d411334e76c2be9c8e2335e7dbb3) Redundant task (fix the "duplicate task asc" error).
- [`4c0d3be`](https://github.com/cbeust/testng/commit/4c0d3be222fc98a0893f6cf9aa0a510646601c72) Fix the Javadoc upload for bintray.
- [`2984d73`](https://github.com/cbeust/testng/commit/2984d735e8c122e52cea31466d981f1d00835b09) Revert to 5.0 to avoid the signing bug.
- [`4047b03`](https://github.com/cbeust/testng/commit/4047b03c828a6dac22a8a16f931adfefbf0591b3) Use Trusty environment for oracle jdk8
- [`c4f803e`](https://github.com/cbeust/testng/commit/c4f803ebba7bfadb558fb0b8a7dc9c4e92d82a57) SoftAssert: allow custom general message
- [`dab2619`](https://github.com/cbeust/testng/commit/dab2619a758268cb461991261652d9ad35da61ab) Attempting to fix the Travis build file.
- [`da1fa33`](https://github.com/cbeust/testng/commit/da1fa33175f7248d01a3c775903c15ba421982d3) Fix NPE in Thread affinity mode
- [`50f15c3`](https://github.com/cbeust/testng/commit/50f15c3dfd13c289fd33eca62a7936830a88f1a9) Include assertEquals(Map, Map) into Assert class ([#2106](https://github-redirect.dependabot.com/cbeust/testng/issues/2106))
- Additional commits viewable in [compare view](https://github.com/cbeust/testng/compare/6.14.3...7.0.0)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps testng from 6.14.3 to 7.0.0.
Changelog
*Sourced from [testng's changelog](https://github.com/cbeust/testng/blob/master/CHANGES.txt).* > Current > Fixed: GITHUB-2080: Wrong text for assertTrue (Jiong Fu) > Fixed: GITHUB-2121: SoftAssert: allow custom message (dr29bart) > Fixed: GITHUB-2110: NPE is thrown when running with Thread affinity (Krishnan Mahadevan) > Fixed: GITHUB-2069: JUnit TestSuite not handled correctly in Reports (Krishnan Mahadevan) > Fixed: GITHUB-2075: Thread interrupt flag persists between test methods (Krishnan Mahadevan) > Fixed: GITHUB-2074: Thread Interrupted when using expectedException (Krishnan Mahadevan) > Fixed: GITHUB-2802: some methods' javadoc in ISuiteListener and ITestListener is misleading (Yehui Wang) > Fixed: GITHUB-2061: java.util.ConcurrentModificationException after registration of SuiteListener at the runtime (Krishnan Mahadevan) > Fixed: GITHUB-2055: It's not possible to register a new ITestListener at the runtime (Krishnan Mahadevan) > Fixed: GITHUB-1035: [@BeforeClass](https://github.com/BeforeClass) not executed in parallel when parallel="instances" (Krishnan Mahadevan) > Fixed: GITHUB-2043: IConfigurationListener is not executed and IDataProviderListener is not added to the list of the listeners if a new listener is added at the runtime (Krishnan Mahadevan) > Fixed: GITHUB-1835: Configurable ThreadPoolExecutor (Krishnan Mahadevan) > Fixed: GITHUB-1691: Support reading data provider information from Class level [@Test](https://github.com/Test) annotation (Krishnan Mahadevan) > Fixed: GITHUB-326: When group-by-instances is set to true the instances created by [@Factory](https://github.com/Factory) does not run in parallel (Krishnan Mahadevan) > Fixed: GITHUB-1930: Running testng-failed.xml correctly runs failed test in child class but incorrectly runs all tests in base class (Krishnan Mahadevan) > Fixed: GITHUB-1987: Retrieve the data provider method's reference from the test method (Krishnan Mahadevan) > Fixed: GITHUB-1976: Add a proper message when types are missing during annotation parsing (Krishnan Mahadevan) > Fixed: GITHUB-2000: ThreadPoolExecutor ConcurrentModificationException (Krishnan Mahadevan) > Fixed: GITHUB-2022: Suite.xml files make web request when suite uses DTD over HTTPS (Krishnan Mahadevan) > Fixed: GITHUB-2017: Don't use child injectors for Guice tests (Joe Barnett) > New: GITHUB-2003: Add to [@Test](https://github.com/Test) interface fields IDs and issues (Krishnan Mahadevan) > Fixed: GITHUB-2009: Test Timeout not respected in parallel="methods" mode (Krishnan Mahadevan) > Fixed: GITHUB-2008: Preserve parameters in each class and not all of the test parameters > Fixed: GITHUB-1981: Fixes NPE in Assert.assertEquals when an array contains null (Maneesh MS) > New: Upgrade to gradle5 > New: Added a method in Assertion class to allow downstream TestNG consumers to override the error message (Ryan Laseter) > Fixed: GITHUB-165: [@AfterGroups](https://github.com/AfterGroups) is not executed when group member fails or is skipped (Krishnan Mahadevan) > Fixed: GITHUB-118: [@BeforeGroups](https://github.com/BeforeGroups) only called if group is specified explicitly (Krishnan Mahadevan) > Fixed: GITHUB-182: Inherited test methods do not get expected group behavior (Krishnan Mahadevan) > Fixed: GITHUB-1988: Add Automatic-Module-Name to MANIFEST.MF (Krishnan Mahadevan) > Fixed: GITHUB-1985: Custom "IMethodSelector" implementation doesn't filter methods properly (Krishnan Mahadevan) > Fixed: GITHUB-993: Handle null test names from ITest implementation (Krishnan Mahadevan) > Fixed: GITHUB-1942: assertDeepEquals takes long time to evaluate size mismatch (Kumaran Bharathan) > Fixed: GITHUB-1967: IInvokedMethod ITestResult status set as -1 for test methods skipped due to config failure (Krishnan Mahadevan) > Fixed: GITHUB-1952: Provide a TestNGListener that can be invoked when a test fails due to a timeout (Krishnan Mahadevan) > Fixed: GITHUB-1953: TestNG throws a misleading error when [@Factory](https://github.com/Factory) method returns empty array. (Krishnan Mahadevan) > Fixed: GITHUB-1946: Retry analyzer does not work properly when coupled with a data provider (Krishnan Mahadevan) > Fixed: GITHUB-1924: Testclass instantiation fails when both no-arg constructor and factory method present (Krishnan Mahadevan) > Fixed: GITHUB-1935: Wrong text for assertEquals (Krishnan Mahadevan) > Fixed: GITHUB-1931: [NPE] Reporter org.testng.reporters.jq.Main failed (Krishnan Mahadevan, Oleg Shaburov) > New: Remove raw type warnings in ConversionUtils > Fixed: GITHUB-1480: Parallel=methods not working when tests have different priorities set (Micah Lapping-Carr) > Fixed: GITHUB-1041: Factory data-provider parameters not displayed in test-result (Krishnan Mahadevan) > Fixed: GITHUB-1901: The overall reported Test time for suite containing parallel tests should be max(tests_times) (Krishnan Mahadevan) > Fixed: GITHUB-1893: Streamline invocation of "init" method within TestResult to be private (Krishnan Mahadevan) > Fixed: GITHUB-1892: Configurable InvokedMethodListener (Krishnan Mahadevan) > Fixed: GITHUB-435: ApplyCommits
- [`2858327`](https://github.com/cbeust/testng/commit/28583270df328428c4f889f3da2f5bef93c02adc) Update Version.java to 7.0.0. - [`207a8d8`](https://github.com/cbeust/testng/commit/207a8d82df85db671e9e430db3d27d805b5b08e8) Gradle 5.6. - [`cbc4418`](https://github.com/cbeust/testng/commit/cbc4418ca779d411334e76c2be9c8e2335e7dbb3) Redundant task (fix the "duplicate task asc" error). - [`4c0d3be`](https://github.com/cbeust/testng/commit/4c0d3be222fc98a0893f6cf9aa0a510646601c72) Fix the Javadoc upload for bintray. - [`2984d73`](https://github.com/cbeust/testng/commit/2984d735e8c122e52cea31466d981f1d00835b09) Revert to 5.0 to avoid the signing bug. - [`4047b03`](https://github.com/cbeust/testng/commit/4047b03c828a6dac22a8a16f931adfefbf0591b3) Use Trusty environment for oracle jdk8 - [`c4f803e`](https://github.com/cbeust/testng/commit/c4f803ebba7bfadb558fb0b8a7dc9c4e92d82a57) SoftAssert: allow custom general message - [`dab2619`](https://github.com/cbeust/testng/commit/dab2619a758268cb461991261652d9ad35da61ab) Attempting to fix the Travis build file. - [`da1fa33`](https://github.com/cbeust/testng/commit/da1fa33175f7248d01a3c775903c15ba421982d3) Fix NPE in Thread affinity mode - [`50f15c3`](https://github.com/cbeust/testng/commit/50f15c3dfd13c289fd33eca62a7936830a88f1a9) Include assertEquals(Map, Map) into Assert class ([#2106](https://github-redirect.dependabot.com/cbeust/testng/issues/2106)) - Additional commits viewable in [compare view](https://github.com/cbeust/testng/compare/6.14.3...7.0.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.