Closed itsMCD closed 2 months ago
I agree that this is a reasonable request. @christophd and I anticipated that such a request might arise eventually. Our consensus was to evaluate backports as they become necessary, which applies to the current situation.
I am willing to attempt a backport of the fix to v3.x. I remember the fix for JDK >= 17 as being rather little. Maybe a cherry-pick is enough, even.
Given that the release scripts are available in the repository, @christophd, do you think it would be feasible to manage a backport fix release without significant effort?
just for clarification @itsMCD: you are using citrus 3.4.0
(reference)?
because it contains <testng.version>7.7.1</testng.version>
(reference). I assume you meant that, because version v6.4.0
of citrus does not exist (yet). and testng version v6.x
is from 2018 (reference).
I then assume you would love to see it being upgraded to the latest version (as of today), e.g. v7.10.1
.
@bbortt yes sorry, We are currently using Citrus 3.4.0 which which does not support TestNG v 7.x and the versions of TestNG 6.X contains vulnerabilities. Thus yes, I would like to see it upgraded to TestNG V 7.10.1. Thank you tl:dr Current latest citrus version compatible with Java 11 is 3.4.0 which does not support TestNG 7.X, and would thus request support for TestNG 7.x
Current latest citrus version compatible with Java 11 is 3.4.0 which does not support TestNG 7.X, and would thus request support for TestNG 7.x
it is already on testng@7.7.1
, as mentioned (see pom.xml
). I've opened https://github.com/citrusframework/citrus/pull/1148 which upgrades it to v7.10.1
.
that fulfils your request, right? or am I missing something here?
@bbortt yes, I can do a release then
@christophd backport has been merged into https://github.com/citrusframework/citrus/tree/support/3.0.0.
@bbortt cool, thanks! I am traveling a lot this week, so hopefully I find some time next week to do the release.
The release is done. v3.4.1 is available!
Citrus Version 6.4.0
Expected behavior Be able to use (initialise and run tests) with testNG version 7.x
Actual behavior Throws the following exception:
(this was previously mentioned in issue #3029 but was only fixed for the latest Java 17 version of Citrus. A lot of projects still use a java version below 17 and want to avoid using testNG 6.x due to vulnerabilities. Test case sample
public class ITtest extends TestNGCitrusSpringSupport{
@Test @CitrusTest public void testTest() throws Exception { //request }
}