Skip to content

Conversation

@baflQA
Copy link
Contributor

@baflQA baflQA commented Jan 6, 2026

Add TestNG 7 integration (allure-testng7)

Context

This PR introduces a new module, allure-testng-7, designed to support TestNG 7. It was created by copying the existing allure-testng module and updating it to be compatible with TestNG 7.11.0.

Key changes:

  • Created allure-testng-7 module.
  • Updated build.gradle.kts to use TestNG 7.11.0.
  • Renamed the base package to io.qameta.allure.testng7 to avoid classpath conflicts with the existing allure-testng module (which supports TestNG 6).
  • Updated tests to align with TestNG 7 behavior, specifically regarding skipped configuration methods now producing test containers.
  • Registered the new module in settings.gradle.kts.

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

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