[ https://issues.apache.org/jira/browse/WW-5177?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17699626#comment-17699626 ]
Ganapati commented on WW-5177: ------------------------------ No. It works perfectly fine with JDK 8. --Ganapati -- NOTICE: The information contained in this transmission and any attachments is confidential and is for the use of the intended recipient(s) only. If you have received in error, please notify the sender and delete it. If you are not the intended recipient, you must not use, disclose or distribute this e-mail without the author's prior permission. > Support testing with JUnit 5 > ---------------------------- > > Key: WW-5177 > URL: https://issues.apache.org/jira/browse/WW-5177 > Project: Struts 2 > Issue Type: New Feature > Components: Plugin - JUnit > Reporter: Ganapati > Priority: Major > Labels: features > Fix For: 7.0.0 > > > Hi Team, > > Currently, struts2-junit-plugin supports testing of Spring based struts > actions with on JUnit 4 and 3 using {{StrutsSpringTestCase}} and > {{StrutsSpringJUnit4TestCase}}. The request is to add support for JUnit 5 > with something similar to {{StrutsSpringJUnit5TestCase}}. I understand that > we can run JUnit 4 tests using {{junit-vintage-engine}} but in our case we > need to combine with other JUnit 5 based extensions - some custom and some > already available - Spring, Testcontainers, etc. > > There is no issue in the current issues list to support this. Can I know if > there is any plan to support the same? I am happy to make contribution if > some one can guide me. > ----------------------------------- > For POC purposes, I created parallels to {{XWorkJUnit4TestCase}}, > {{StrutsJUnit4TestCase}}, and {{StrutsSpringJUnit4TestCase}} with much of the > code remaining same. I was able to run tests using Spring's {{ExtendWith}} > with a workaround and the workaround needs to be fixed properly. > > Thanks. -- This message was sent by Atlassian Jira (v8.20.10#820010)