Skip to content

Conversation

@baflQA
Copy link
Contributor

@baflQA baflQA commented Jan 6, 2026

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:

  • Updated build.gradle.kts to use TestNG 7.11.0.
  • Updated tests to align with TestNG 7 behavior, specifically regarding skipped configuration methods now producing test containers.
  • Updated the required JDK version to 11, which is required by the testng

Checklist

baflQA added 3 commits January 6, 2026 20:48
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.
@baflQA
Copy link
Contributor Author

baflQA commented Jan 7, 2026

@baev please share Your thoughts :)

@baev
Copy link
Member

baev commented Jan 9, 2026

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 😄

@baflQA
Copy link
Contributor Author

baflQA commented Jan 9, 2026

I would be happy to see that happen.

@baflQA
Copy link
Contributor Author

baflQA commented Jan 10, 2026

So, just to be sure, are You suggesting simply upgrading the existing project instead of creating a new one?

@github-actions github-actions bot added the theme:testng TestNG related issue label Jan 10, 2026
@baflQA
Copy link
Contributor Author

baflQA commented Jan 10, 2026

@baev I hope that's what You meant 😅

@baev baev added the type:improvement Change that improves some user experience but can't be considered as a new feature label Jan 12, 2026
@baev
Copy link
Member

baev commented Jan 12, 2026

@baflQA yes, all good!

Could you please fix the build?

@baflQA
Copy link
Contributor Author

baflQA commented Jan 12, 2026

Done

@baev
Copy link
Member

baev commented Jan 13, 2026

LGTM

Please update the description since we decided to not introduce new allure-testng7 module

@baflQA baflQA changed the title Feat/testng 7 support Update TestNG to version 7 Jan 13, 2026
@baflQA
Copy link
Contributor Author

baflQA commented Jan 13, 2026

LGTM

Please update the description since we decided to not introduce new allure-testng7 module

done

@baev baev merged commit 5ad7b9e into allure-framework:main Jan 13, 2026
4 checks passed
@baev
Copy link
Member

baev commented Jan 13, 2026

@baflQA thanks!

@baflQA baflQA deleted the feat/testng-7-support branch January 13, 2026 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:build theme:testng TestNG related issue type:improvement Change that improves some user experience but can't be considered as a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants