Skip to content

Commit

Permalink
Add test coverage for 7.9.0
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Jan 2, 2024
1 parent dea1254 commit 0d4adf6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
:junit-platform-version: 1.8.2
:surefire-version: 3.0.0-M7
:testng-min-version: 6.14.3
:testng-max-version: 7.8.0
:testng-max-version: 7.9.0
:testng-engine-version: 1.0.4

Allows executing https://testng.org[TestNG] tests on the JUnit Platform
Expand Down
5 changes: 3 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,13 @@ val supportedTestNGVersions = listOf(
"7.5.1" to 8,
"7.6.1" to 11,
"7.7.1" to 11,
"7.8.0" to 11 // Keep in sync with TestContext.java and README.MD
"7.8.0" to 11,
"7.9.0" to 11 // Keep in sync with TestContext.java and README.MD
).associateBy({ Version(it.first) }, { JavaLanguageVersion.of(it.second) })

val lastJdk8CompatibleRelease = supportedTestNGVersions.entries.last { it.value == JavaLanguageVersion.of(8) }.key

val snapshotTestNGVersion = Version("7.9.0-SNAPSHOT")
val snapshotTestNGVersion = Version("7.10.0-SNAPSHOT")

val allTestNGVersions = supportedTestNGVersions.keys + listOf(snapshotTestNGVersion)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
class TestContext {

static ComparableVersion testNGVersion() {
return new ComparableVersion(removeEnd(System.getProperty("testng.version", "7.8.0"), "-SNAPSHOT"));
return new ComparableVersion(removeEnd(System.getProperty("testng.version", "7.9.0"), "-SNAPSHOT"));
}
}

0 comments on commit 0d4adf6

Please sign in to comment.