Update TestNG to version 7#1232
Merged
baev merged 14 commits intoallure-framework:mainfrom Jan 13, 2026
Merged
Conversation
…method in TestNG 7
Updated the TestNG dependency from version 7.10.2 to 7.11.0 in the allure-testng-7 module to use the latest features and fixes.
…pdated to match TestNG 7 behavior
Changed the Java release version from 8 to 11 in the Gradle build configuration to ensure compatibility with Java 11 features and libraries.
Changed the Java compiler release version from 11 to 8 in build.gradle.kts to ensure compatibility with Java 8 environments.
Contributor
Author
|
@baev please share Your thoughts :) |
Member
|
Great job 👍 Maybe it’s time to drop support for TestNG < 7? It was released on 20 Aug 2019, so I think we’ve given users plenty of time to migrate 😄 |
Contributor
Author
|
I would be happy to see that happen. |
Contributor
Author
|
So, just to be sure, are You suggesting simply upgrading the existing project instead of creating a new one? |
Contributor
Author
|
@baev I hope that's what You meant 😅 |
Member
|
@baflQA yes, all good! Could you please fix the build? |
Contributor
Author
|
Done |
baev
approved these changes
Jan 13, 2026
Member
|
LGTM Please update the description since we decided to not introduce new allure-testng7 module |
Contributor
Author
done |
Member
|
@baflQA thanks! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Update TestNG to version 7.
Context
This PR upgrades the existing allure-testng module to support TestNG 7.x (specifically version 7.11.0). Following the discussion with maintainers, we have decided to move the main integration forward to TestNG 7 rather than maintaining a separate module, as TestNG 7 has been the industry standard since 2019.
Key changes:
build.gradle.ktsto use TestNG 7.11.0.Checklist