[
https://issues.apache.org/jira/browse/OFBIZ-11870?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17151522#comment-17151522 ]
Ioan Eugen Stan commented on OFBIZ-11870:
-----------------------------------------
I think it makes sense to make the transition.
In James we do have it ongoing.
Junit5 people have documented the upgrade process and you can make it
gradually and have both.
Use ` git grep org.junit.Test | wc -l `to count the non-migrated tests.
This is what we have based on the migration samples
https://github.com/junit-team/junit5-samples#gradle-migration-----https://github.com/junit-team/junit5-samples/blob/main/junit5-migration-gradle/build.gradlehttps://junit.org/junit5/docs/current/user-guide/#migrating-from-junit4----
testImplementation 'org.junit.jupiter:junit-jupiter-api:5.5.1'
testImplementation 'org.junit.jupiter:junit-jupiter-params:5.5.1'
testRuntimeOnly 'org.junit.jupiter:junit-jupiter-engine:5.5.1'
testCompileOnly 'junit:junit:4.13'
testRuntimeOnly 'org.junit.vintage:junit-vintage-engine:5.5.1'
}
test {
useJUnitPlatform()
}
----
--
This message was sent by Atlassian Jira
(v8.3.4#803005)