apache / submarine

Submarine is Cloud Native Machine Learning Platform.
https://submarine.apache.org/
Apache License 2.0
691 stars 254 forks source link

Bump testng from 6.4 to 7.7.0 #1041

Open dependabot[bot] opened 1 year ago

dependabot[bot] commented 1 year ago

Bumps testng from 6.4 to 7.7.0.

Release notes

Sourced from testng's releases.

TestNG v7.7.0

What's Changed

New Contributors

Full 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 release
  • 7846c44 Deprecate support for running JUnit tests
  • 8630a7e Ensure ITestContext available for JUnit4 tests
  • 7070b02 Streamline dependsOnMethods for configurations
  • d7e0bb1 Deprecate support for running Spock Tests
  • ca7a3a2 Ensure All tests run all the time
  • a5b8508 Honour regex in dependsOnMethods
  • 563bd6d Support getting dependencies info for a test
  • 39f8fa5 Merge pull request #2837 from speedythesnail/Add-addition-yml-extension
  • Additional commits viewable in compare view


Dependabot compatibility score

You can trigger a rebase of this PR 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/submarine/network/alerts).
> **Note** > Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
codecov[bot] commented 1 year ago

Codecov Report

Merging #1041 (193b0b3) into master (793c8a2) will increase coverage by 11.02%. The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1041       +/-   ##
===========================================
+ Coverage   59.72%   70.74%   +11.01%     
===========================================
  Files         119      119               
  Lines        5000     5000               
===========================================
+ Hits         2986     3537      +551     
+ Misses       2014     1463      -551     
Flag Coverage Δ
python-integration 59.72% <ø> (ø)
python-unit 46.44% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
submarine-sdk/pysubmarine/submarine/cli/main.py 97.87% <0.00%> (+2.12%) :arrow_up:
...ine-sdk/pysubmarine/submarine/ml/abstract_model.py 82.35% <0.00%> (+5.88%) :arrow_up:
...-sdk/pysubmarine/submarine/artifacts/repository.py 100.00% <0.00%> (+6.66%) :arrow_up:
...rine-sdk/pysubmarine/submarine/utils/validation.py 88.40% <0.00%> (+11.59%) :arrow_up:
...ine-sdk/pysubmarine/submarine/cli/config/config.py 78.57% <0.00%> (+14.28%) :arrow_up:
...marine-sdk/pysubmarine/submarine/utils/db_utils.py 87.50% <0.00%> (+25.00%) :arrow_up:
...e-sdk/pysubmarine/submarine/cli/sandbox/command.py 100.00% <0.00%> (+25.00%) :arrow_up:
...ne-sdk/pysubmarine/submarine/cli/config/command.py 84.78% <0.00%> (+39.13%) :arrow_up:
...e-sdk/pysubmarine/submarine/utils/pytorch_utils.py 80.00% <0.00%> (+40.00%) :arrow_up:
submarine-sdk/pysubmarine/submarine/exceptions.py 100.00% <0.00%> (+45.45%) :arrow_up:
... and 24 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more