jmxutils
jmxutils copied to clipboard
Bump testng from 6.2.1 to 7.7.0
Bumps testng from 6.2.1 to 7.7.0.
Release notes
Sourced from testng's releases.
TestNG v7.7.0
What's Changed
- Replace FindBugs by SpotBugs by
@gruenich
in cbeust/testng#2781- Gradle: Drop forUseAtConfigurationTime() by
@gruenich
in cbeust/testng#2783- Added ability to provide custom message to assertThrows\expectThrows methods by
@anatolyuzhakov
in cbeust/testng#2793- Fix issue 2801 - Only resolve hostname once by
@spkrka
in cbeust/testng#2802- [SECURITY] Fix Zip Slip Vulnerability by
@JLLeitschuh
in cbeust/testng#2806- GITHUB-2807 - Failsafe buildStackTrace by
@seregamorph
in cbeust/testng#2808- Prevent overlogging of debug msgs in Graph impl by
@krmahadevan
in cbeust/testng#2813- Streamline dataprovider invoking in abstract classes by
@krmahadevan
in cbeust/testng#2814- Streamline TestResult due to expectedExceptions by
@krmahadevan
in cbeust/testng#2815- Unexpected test runs count with retry analyzer by
@krmahadevan
in cbeust/testng#2816- Make PackageUtils compliant with JPMS by
@krmahadevan
in cbeust/testng#2817- Ability to retry a data provider during failures by
@krmahadevan
in cbeust/testng#2820- Refactoring by
@krmahadevan
in cbeust/testng#2821- Fixing bug with DataProvider retry by
@krmahadevan
in cbeust/testng#2822- Add config key for callback discrepancy behavior by
@krmahadevan
in cbeust/testng#2823- Upgrading versions by
@krmahadevan
in cbeust/testng#2824- Fix #2770: FileAlreadyExistsException on copy by
@melloware
in cbeust/testng#2827- JarFileUtils.delete(File f) throw actual exception (instead of FileNotFound) when file cannot be deleted #2825 by
@speedythesnail
in cbeust/testng#2826- GITHUB-2830 - Failsafe parameter.toString by
@seregamorph
in cbeust/testng#2831- Changing assertion message of the osgitest by
@krmahadevan
in cbeust/testng#2832- hidden spotbugs in release #2829 by
@bobshie
in cbeust/testng#2833- Enhancing the Matrix by
@krmahadevan
in cbeust/testng#2834- Avoid Compilation errors on Semeru JDK flavour. by
@krmahadevan
in cbeust/testng#2835- Add addition yml extension by
@speedythesnail
in cbeust/testng#2837- Support getting dependencies info for a test by
@krmahadevan
in cbeust/testng#2839- Honour regex in dependsOnMethods by
@krmahadevan
in cbeust/testng#2838- Ensure All tests run all the time by
@krmahadevan
in cbeust/testng#2842- Deprecate support for running Spock Tests by
@krmahadevan
in cbeust/testng#2846- Streamline dependsOnMethods for configurations by
@krmahadevan
in cbeust/testng#2845- Ensure ITestContext available for JUnit4 tests by
@krmahadevan
in cbeust/testng#2848- Deprecate support for running JUnit tests by
@krmahadevan
in cbeust/testng#2849New Contributors
@gruenich
made their first contribution in cbeust/testng#2781@anatolyuzhakov
made their first contribution in cbeust/testng#2793@spkrka
made their first contribution in cbeust/testng#2802@JLLeitschuh
made their first contribution in cbeust/testng#2806@seregamorph
made their first contribution in cbeust/testng#2808@melloware
made their first contribution in cbeust/testng#2827@speedythesnail
made their first contribution in cbeust/testng#2826@bobshie
made their first contribution in cbeust/testng#2833Full Changelog: https://github.com/cbeust/testng/compare/7.6.1...7.7.0
TestNG v7.6.1
This is a bug fix release and just includes 1 bug fix in it.
... (truncated)
Changelog
Sourced from testng's changelog.
7.7.0 Fixed: GITHUB-2852: [SECURITY] Fix Zip Slip Vulnerability (Jonathan Leitschuh) Fixed: GITHUB-2792: JUnitTestClass sets XmlTest as null when running JUnit 4 Tests using TestNG (Krishnan Mahadevan) Fixed: GITHUB-2847: Deprecate support for running JUnit tests (Krishnan Mahadevan) Fixed: GITHUB-2844: Deprecate support for running Spock Tests (Krishnan Mahadevan) Fixed: GITHUB-550: Weird
@BeforeMethod
and@AfterMethod
behaviour with dependsOnMethods (Krishnan Mahadevan) Fixed: GITHUB-893: TestNG should provide an Api which allow to find all dependent of a specific test (Krishnan Mahadevan) New: Added .yml file extension for yaml suite files, previously only .yaml was allowed for yaml (Steven Jubb) Fixed: GITHUB-141: regular expression in "dependsOnMethods" does not work (Krishnan Mahadevan) Fixed: GITHUB-2770: FileAlreadyExistsException when report is generated (melloware) Fixed: GITHUB-2825: Programmatically Loading TestNG Suite from JAR File Fails to Delete Temporary Copy of Suite File (Steven Jubb) Fixed: GITHUB-2818: Add configuration key for callback discrepancy behavior (Krishnan Mahadevan) Fixed: GITHUB-2819: Ability to retry a data provider in case of failures (Krishnan Mahadevan) Fixed: GITHUB-2308: StringIndexOutOfBoundsException in findClassesInPackage - Surefire/Maven - JDK 11 fails (Krishnan Mahadevan) Fixed: GITHUB:2788: TestResult.isSuccess() is TRUE when test fails due to expectedExceptions (Krishnan Mahadevan) Fixed: GITHUB-2800: Running Test Classes with Inherited@Factory
and@DataProvider
Annotated Non-Static Methods Fail (Krishnan Mahadevan) New: Ability to provide custom error message for assertThrows\expectThrows methods (Anatolii Yuzhakov) Fixed: GITHUB-2780: Use SpotBugs instead of abandoned FindBugs Fixed: GITHUB-2801: JUnitReportReporter is too slow Fixed: GITHUB-2807: buildStackTrace should be fail-safe (Sergey Chernov) Fixed: GITHUB-2830: TestHTMLReporter parameter toString should be fail-safe (Sergey Chernov) Fixed: GITHUB-2798: Parallel executions coupled with retry analyzer results in duplicate retry analyzer instances being created (Krishnan Mahadevan)7.6.1 Fixed: GITHUB-2761: Exception: ERROR java.nio.file.NoSuchFileException: /tmp/testngXmlPathInJar-15086412835569336174 (Krishnan Mahadevan) 7.6.0 Fixed: GITHUB-2741: Show fully qualified name of the test instead of just the function name for better readability of test output.(Krishnan Mahadevan) Fixed: GITHUB-2725: Honour custom attribute values in TestNG default reports (Krishnan Mahadevan) Fixed: GITHUB-2726:
@AfterClass
config method is executed for EACH@Test
method when parallel == methods (Krishnan Mahadevan) Fixed: GITHUB-2752: TestListener is being lost when implenting both IClassListener and ITestListener (Krishnan Mahadevan) New: GITHUB-2724: DataProvider: possibility to unload dataprovider class, when done with it (Dzmitry Sankouski) Fixed: GITHUB-217: Configure TestNG to fail when there's a failure in data provider (Krishnan Mahadevan) Fixed: GITHUB-2743: SuiteRunner could not be initial by default Configuration (Nan Liang) Fixed: GITHUB-2729: beforeConfiguration() listener method should be invoked for skipped configurations as well(Nan Liang) Fixed: assertEqualsNoOrder for Collection and Iterators size check was missing (Adam Kaczmarek) Fixed: GITHUB-2709: Testnames not working together with suites in suite (Martin Aldrin) Fixed: GITHUB-2704: IHookable and IConfigurable callback discrepancy (Krishnan Mahadevan) Fixed: GITHUB-2637: Upgrade to JDK11 as the minimum JDK requirements (Krishnan Mahadevan) Fixed: GITHUB-2734: Keep the initial order of listeners (Andrei Solntsev) Fixed: GITHUB-2359: Testng@BeforeGroups
is running in parallel with testcases in the group (Anton Velma) Fixed: Possible StringIndexOutOfBoundsException in XmlReporter (Anton Velma) Fixed: GITHUB-2754:@AfterGroups
is executed for each "finished" group when it has multiple groups defined (Anton Velma)7.5 Fixed: GITHUB-2701: Bump gradle version to 7.3.3 to support java17 build (ZhangJian He) Fixed: GITHUB-2646: Streamline Logging Across TestNG (Krishnan Mahadevan) Fixed: GITHUB-2658: Inheritance + dependsOnMethods (Krishnan Mahadevan) Fixed: GITHUB-2664: Order for DependsOnGroups has changed after TestNg 7.4.0 (Krishnan Mahadevan) Fixed: GITHUB-2501: TestNG 7.4.0 throws an exception "sun.net.www.protocol.file.FileURLConnection cannot be cast to java.net.HttpURLConnection" when xml file contain "ENTITY SYSTEM" grammer (Krishnan Mahadevan) Fixed: GITHUB-2693: TestNG ignores 'dataproviderthreadcount' CLA (Krishnan Mahadevan)
... (truncated)
Commits
c0e1e77
Adjust version reference in deprecation msgs.011527d
Bump version to 7.7.0 for release7846c44
Deprecate support for running JUnit tests8630a7e
Ensure ITestContext available for JUnit4 tests7070b02
Streamline dependsOnMethods for configurationsd7e0bb1
Deprecate support for running Spock Testsca7a3a2
Ensure All tests run all the timea5b8508
Honour regex in dependsOnMethods563bd6d
Support getting dependencies info for a test39f8fa5
Merge pull request #2837 from speedythesnail/Add-addition-yml-extension- Additional commits viewable in compare view
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) You can disable automated security fix PRs for this repo from the Security Alerts page.