Releases: testng-team/testng
Releases Β· testng-team/testng
7.11.0
What's Changed
- Report deadlocks when running in sharedthreadpool by @krmahadevan in #3119
- Update JCommander to 1.83 by @adessaigne in #3123
- Update Gradle Wrapper from 8.7 to 8.8 by @github-actions in #3132
- Fix array assertEquals failure message when an element is null or non-null by @zAlbee in #3136
- Fix typos on
suiteName
andtestName
attributes by @Philzen in #3137 - Fix javadoc for internal/Utils.java by @vlad8x8 in #3148
- Update Gradle Wrapper from 8.8 to 8.9 by @github-actions in #3149
- Fix
assertEqualsDeep(Set, Set, String)
wrong comparison and add variant without message by @vuriaval in #3150 - Bump github/combine-prs from 5.0.0 to 5.1.0 by @dependabot in #3151
- Bump burrunan/gradle-cache-action from 1 to 2 by @dependabot in #3168
- Specifying dataProvider & successPercentage causes test to always pass by @krmahadevan in #3171
- Update Gradle Wrapper from 8.9 to 8.10.1 by @github-actions in #3174
- Update Gradle Wrapper from 8.10.1 to 8.10.2 by @github-actions in #3178
- Bump oracle-actions/setup-java from 1.3.4 to 1.4.0 by @dependabot in #3176
- Bump gradle-update/update-gradle-wrapper-action from 1 to 2 by @dependabot in #3175
- Streamline invocation numbers in failed xml file by @krmahadevan in #3181
- Bump github/combine-prs from 5.1.0 to 5.2.0 by @dependabot in #3185
- Fix for #3189 - fixed ignored testcases count by @Kanaduchi in #3190
- update slf4j from 1.7.36 to 2.0.16 by @asolntsev in #3191
- Update Gradle Wrapper from 8.10.2 to 8.11.1 by @github-actions in #3188
- Introduce missing
assertEquals(long, Long, String)
overload by @Stephan202 in #3199 - Support to execlude somes test in option of command line by @YutingZhang-A in #3200
- Use newer build scan plugin by @jaredsburrows in #3203
New Contributors
- @adessaigne made their first contribution in #3123
- @zAlbee made their first contribution in #3136
- @Philzen made their first contribution in #3137
- @vlad8x8 made their first contribution in #3148
- @vuriaval made their first contribution in #3150
- @Stephan202 made their first contribution in #3199
- @YutingZhang-A made their first contribution in #3200
- @jaredsburrows made their first contribution in #3203
Full Changelog: 7.10.2...7.11.0
TestNG v7.10.2
What's Changed
- Bump gradle/wrapper-validation-action from 2.1.2 to 3.3.0 by @dependabot in #3113
- Streaming working of listener comparator by @krmahadevan in #3118
Full Changelog: 7.10.1...7.10.2
TestNG v7.10.1
What's Changed
- Bump org.gradlex.build-parameters from 1.4.3 to 1.4.4 by @dependabot in #3108
- Fix for #3110
Full Changelog: 7.10.0...7.10.1
TestNG v7.10.0
What's Changed
- Clean-up deprecated code by @krmahadevan in #3024
- Minor discrepancy fixes by @krmahadevan in #3026
- Deleting TestNG eclipse plugin specific classes by @krmahadevan in #3031
- Code clean-up by @krmahadevan in #3027
- Remove deprecated JUnit related support in TestNG by @krmahadevan in #3023
- Bump actions/upload-artifact from 3 to 4 by @dependabot in #3017
- Bump com.github.johnrengelman.shadow:com.github.johnrengelman.shadow.gradle.plugin from 7.0.0 to 8.1.1 by @dependabot in #2952
- Handle exceptions in emailable Reporter by @krmahadevan in #3042
- Add wrapperbot and update workflow order by @juherr in #3051
- Support ITestNGFactory customisation by @krmahadevan in #3060
- Streamline data provider listener invocation by @krmahadevan in #3058
- Streamline Guice Module creation in concurrency. by @krmahadevan in #3062
- Copy test result attributes when unexpected failures by @krmahadevan in #3065
- Upgrade Gradle to 8.6, use Java 17 for building code, target Java 11, polish buildscripts by @vlsi in #3067
- chore: use explicit dependency versions instead of refreshVersions by @vlsi in #3068
- Bump gradle/wrapper-validation-action from 1.1.0 to 2.1.1 by @dependabot in #3063
- Bump actions/checkout from 3 to 4 by @dependabot in #3052
- Remove Ant by @juherr in #3071
- Support ordering of listeners by @krmahadevan in #3072
- Bump oracle-actions/setup-java from 1.3.2 to 1.3.3 by @dependabot in #3073
- Add errorprone by @juherr in #2958
- Allow custom thread pool executors to be wired in. by @krmahadevan in #3075
- Allow data providers to be non cacheable by @krmahadevan in #3076
- Use Locks instead of synchronised keyword by @krmahadevan in #3077
- Document pgp artifact signing keys by @krmahadevan in #3085
- Add Unique Id for all test class instances by @krmahadevan in #3083
- Adding issue management workflows by @krmahadevan in #3090
- Map object to configurations by @krmahadevan in #3089
- Allow listeners to be disabled at runtime by @krmahadevan in #3088
- Streamline Data Provider execution by @krmahadevan in #3092
- Test case failure by @krmahadevan in #3093
- Honour inheritance when parsing listener factories by @krmahadevan in #3096
- Fixing flaky tests by @krmahadevan in #3098
- Tweaks around accessing SuiteResult by @krmahadevan in #3099
- Update Gradle Wrapper from 8.6 to 8.7 by @github-actions in #3101
- Bump oracle-actions/setup-java from 1.3.3 to 1.3.4 by @dependabot in #3103
- Bump gradle/wrapper-validation-action from 2.1.1 to 2.1.2 by @dependabot in #3104
- Streamline random generation by @krmahadevan in #3100
- Minor refactoring around RunOrder enum by @krmahadevan in #3106
- Streamline dependencies for configurations by @krmahadevan in #3107
New Contributors
- @github-actions made their first contribution in #3101
Full Changelog: 7.9.0...7.10.0
TestNG v7.9.0
What's Changed
- GitHub 2913 by @ahgittin in #2914
- Test Results as artifacts for failed runs by @krmahadevan in #2918
- Minor code clean-ups by @krmahadevan in #2919
- Fixing the Github CI yaml file by @krmahadevan in #2920
- Fixing data races by @krmahadevan in #2921
- Dont honour params specified in suite-file tag by @krmahadevan in #2923
- Decouple SuiteRunner and TestRunner by @krmahadevan in #2932
- Disable Native DI for BeforeSuite methods by @krmahadevan in #2933
- Streamline running Parallel Dataproviders+retries by @krmahadevan in #2935
- Remove extra whitespace in log for Configuration.createMethods() by @goelakash in #2943
- Added the link for TestNG Documentation's GitHub Repo in README.md by @mohsinsackeer in #2946
- Add dependabot by @juherr in #2949
- Bump actions/checkout from 3.5.0 to 3.5.3 by @dependabot in #2955
- Bump com.github.autostyle:autostyle-plugin-gradle from 3.1 to 3.2 by @dependabot in #2954
- Bump actions/setup-java from 2 to 3 by @dependabot in #2953
- Bump gradle/wrapper-validation-action from 1.0.6 to 1.1.0 by @dependabot in #2951
- Bump com.github.vlsi.gradle-extensions:com.github.vlsi.gradle-extensions.gradle.plugin from 1.78 to 1.90 by @dependabot in #2963
- Bump github/combine-prs from 3.1.1 to 3.1.2 by @dependabot in #2966
- Bump actions/checkout from 3.5.3 to 3.6.0 by @dependabot in #2970
- FirstTimeOnlyConfig methods + Listener invocations by @krmahadevan in #2971
- #2974: Add overrideGroupsFromCliInParentChildXml test by @dr29bart in #2975
- Bump actions/checkout from 3.6.0 to 4.0.0 by @dependabot in #2979
- Bump github/combine-prs from 3.1.2 to 4.0.0 by @dependabot in #2981
- Bump actions/checkout from 4.0.0 to 4.1.0 by @dependabot in #2988
- Bump de.fayard.refreshVersions from 0.30.1 to 0.60.3 by @dependabot in #2990
- Bump org.sonarqube:org.sonarqube.gradle.plugin from 2.8 to 4.4.0.3356 by @dependabot in #2989
- Ensure thread safety for attribute access by @krmahadevan in #2992
- Bump org.sonarqube:org.sonarqube.gradle.plugin from 4.4.0.3356 to 4.4.1.3373 by @dependabot in #2993
- Bump actions/checkout from 4.1.0 to 4.1.1 by @dependabot in #2997
- Add @inherited to the Listeners annotation by @pavlogs in #3002
- Restrict Group inheritance to Before|AfterGroups by @krmahadevan in #3004
- Bump github/combine-prs from 4.0.0 to 4.1.0 by @dependabot in #3005
- Ensure ITestResult injected to @AfterMethod is apt by @krmahadevan in #3007
- Bump versions by @krmahadevan in #3008
- Bump github/combine-prs from 4.1.0 to 5.0.0 by @dependabot in #3010
- Support suite level thread pools for data provider by @krmahadevan in #2982
- Minor Code tweaks by @krmahadevan in #3011
- Favour CompletableFuture instead of PoolService by @krmahadevan in #3012
- Bump actions/setup-java from 3 to 4 by @dependabot in #3013
- Favour FutureTask for concurrency support by @krmahadevan in #3014
- Shared Threadpool for normal/datadriven tests. by @krmahadevan in #3016
- Abort for invalid combinations by @krmahadevan in #3020
New Contributors
- @ahgittin made their first contribution in #2914
- @goelakash made their first contribution in #2943
- @mohsinsackeer made their first contribution in #2946
- @dependabot made their first contribution in #2955
- @pavlogs made their first contribution in #3002
Full Changelog: 7.8.0...7.9.0
TestNG v7.8.0
What's Changed
- XmlTest index is not set for test suites invoked with YAML by @sbaranov-parasoft in #2859
- Listener's onAfterClass is called before @afterclass configuration methods are executed. by @oliver-hughes in #2865
- After upgrading to TestNG 7.5.0, setting ITestResult.status to FAILURE doesn't fail the test anymore by @juherr and @krmahadevan in #2872 and #2864
- JUnitReportReporter should capture the test case output at the test case level by @JamesSassano in #2876
- [Feature] Allow test classes to define "configfailurepolicy" at a per class level by @krmahadevan in #2869
- TestNG.xml doesn't honour Parallel value of a clone by @krmahadevan in #2878
- before configuration and before invocation should be 'SKIP' when beforeMethod is 'skip' @bobshie in #2881
- Test listeners specified in parent testng.xml file are not included in testng-failed.xml file by @krmahadevan in #2882
- Discrepancies with DataProvider and Retry of failed tests by @krmahadevan in #2885
- Skipped Tests with DataProvider appear as failed by @jmoreira18 in #2889
- testng-results xml reports config skips from base classes as ignored by @krmahadevan in #2887
- Feature: Check that specific object present in List by @dbudim in #2902
- Upgrade snakeyaml to 2.0 by @labianchin in #2903
- [Feature] Not exception but warning if some (not all) of the given test names are not found in suite files. by @wenijinew in #2900
- [Feature] Generate testng-results.xml per test suite by @krmahadevan in #2908
New Contributors
- @sbaranov-parasoft made their first contribution in #2859
- @oliver-hughes made their first contribution in #2865
- @jmoreira18 made their first contribution in #2889
- @Iuri1012 made their first contribution in #2894
- @dbudim made their first contribution in #2902
- @labianchin made their first contribution in #2903
- @wenijinew made their first contribution in #2900
Full Changelog: 7.7.1...7.8.0
TestNG v7.5.1
What's Changed
- Cherrypick Zip Slip Vulnerability to 7.5 release by @prashil-g in #2899
New Contributors
- @prashil-g made their first contribution in #2899
Full Changelog: 7.5...7.5.1
TestNG v7.7.1
What's Changed
- Streamline overloaded assertion methods for Groovy by @krmahadevan in #2858
Full Changelog: 7.7.0...7.7.1
TestNG v7.7.0
What's Changed
- Replace FindBugs by SpotBugs by @gruenich in #2781
- Gradle: Drop forUseAtConfigurationTime() by @gruenich in #2783
- Added ability to provide custom message to assertThrows\expectThrows methods by @anatolyuzhakov in #2793
- Fix issue 2801 - Only resolve hostname once by @spkrka in #2802
- [SECURITY] Fix Zip Slip Vulnerability
by @JLLeitschuh in #2806 - GITHUB-2807 - Failsafe buildStackTrace by @seregamorph in #2808
- Prevent overlogging of debug msgs in Graph impl by @krmahadevan in #2813
- Streamline dataprovider invoking in abstract classes by @krmahadevan in #2814
- Streamline TestResult due to expectedExceptions by @krmahadevan in #2815
- Unexpected test runs count with retry analyzer by @krmahadevan in #2816
- Make PackageUtils compliant with JPMS by @krmahadevan in #2817
- Ability to retry a data provider during failures by @krmahadevan in #2820
- Refactoring by @krmahadevan in #2821
- Fixing bug with DataProvider retry by @krmahadevan in #2822
- Add config key for callback discrepancy behavior by @krmahadevan in #2823
- Upgrading versions by @krmahadevan in #2824
- Fix #2770: FileAlreadyExistsException on copy by @melloware in #2827
- JarFileUtils.delete(File f) throw actual exception (instead of FileNotFound) when file cannot be deleted #2825 by @speedythesnail in #2826
- GITHUB-2830 - Failsafe parameter.toString by @seregamorph in #2831
- Changing assertion message of the osgitest by @krmahadevan in #2832
- hidden spotbugs in release #2829 by @bobshie in #2833
- Enhancing the Matrix by @krmahadevan in #2834
- Avoid Compilation errors on Semeru JDK flavour. by @krmahadevan in #2835
- Add addition yml extension by @speedythesnail in #2837
- Support getting dependencies info for a test by @krmahadevan in #2839
- Honour regex in dependsOnMethods by @krmahadevan in #2838
- Ensure All tests run all the time by @krmahadevan in #2842
- Deprecate support for running Spock Tests by @krmahadevan in #2846
- Streamline dependsOnMethods for configurations by @krmahadevan in #2845
- Ensure ITestContext available for JUnit4 tests by @krmahadevan in #2848
- Deprecate support for running JUnit tests by @krmahadevan in #2849
New Contributors
- @gruenich made their first contribution in #2781
- @anatolyuzhakov made their first contribution in #2793
- @spkrka made their first contribution in #2802
- @JLLeitschuh made their first contribution in #2806
- @seregamorph made their first contribution in #2808
- @melloware made their first contribution in #2827
- @speedythesnail made their first contribution in #2826
- @bobshie made their first contribution in #2833
Full Changelog: 7.6.1...7.7.0
TestNG v7.6.1
This is a bug fix release and just includes 1 bug fix in it.
What's Changed
- Fix Files.copy() such that parent dirs are created by @krmahadevan in #2764
- Remove deprecated utility methods by @krmahadevan in #2762
- Fix typos by @asolntsev in #2772
Full Changelog: 7.6.0...7.6.1