[jira] [Commented] (SUREFIRE-1584) Rerun Failing Tests with JUnit 5
[ https://issues.apache.org/jira/browse/SUREFIRE-1584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17224270#comment-17224270 ] Christopher Tubbs commented on SUREFIRE-1584: - If {{-Dsurefire.rerunFailingTestsCount}} is available in JUnit5, can somebody please update the documentation on https://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html to say so? It currently says that it only works in JUnit4.x > Rerun Failing Tests with JUnit 5 > > > Key: SUREFIRE-1584 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1584 > Project: Maven Surefire > Issue Type: New Feature > Components: JUnit 5.x support, Maven Surefire Report Plugin >Affects Versions: 2.22.0 >Reporter: Tic Tac >Assignee: Tibor Digana >Priority: Major > Labels: junit5 > Fix For: 3.0.0-M4 > > Attachments: FlakyReruns.png > > > The very useful feature for integration tests ¨[Rerun Failing > Tests|https://maven.apache.org/surefire/maven-surefire-plugin/examples/rerun-failing-tests.html]¨ > is currently only supported for the very outdated JUnit 4. > The documentation says: ¨This feature is supported only for JUnit 4.x.¨ > Can you please support this feature for JUnit 5.3 or later? -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (MARCHETYPES-70) Quickstart support for junit 5 and java 9+
[ https://issues.apache.org/jira/browse/MARCHETYPES-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jurrian Fahner updated MARCHETYPES-70: -- Docs Text: Quickstart supports java 9+ and junit 5. To specify the java version and junit version set the properties javaCompilerVersion (default = 1.7) and junitVersion (default = 4.13.1) respectively. > Quickstart support for junit 5 and java 9+ > -- > > Key: MARCHETYPES-70 > URL: https://issues.apache.org/jira/browse/MARCHETYPES-70 > Project: Maven Archetype Bundles > Issue Type: Improvement > Components: Maven Quickstart Archetype >Affects Versions: 1.3, 1.4 >Reporter: Jurrian Fahner >Priority: Minor > > Quickstart archetype is outdated due to the support for java versions below 9 > and junit 4. > The changes needs to be made backwards compatible in order to avoid breaking > changes for legacy projects. > For the support of java 9+ the java version tag must change from: > {code:xml} > > 1.8 > 1.8 > {code} > to: > {code:xml} > > 11 > {code} > For junit 5 support it is needed to add junit-jupiter-api and the vintage > plugin, to add support for large older projects (with old junit tests in it). > Example for dependencies for junit 5 it will look like: > {code:xml} > > org.junit.jupiter > junit-jupiter-api > 5.2.2 > test > > > org.junit.jupiter > junit-jupiter-engine > 5.2.2 > test > > {code} > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (MARCHETYPES-70) Quickstart support for junit 5 and java 9+
Jurrian Fahner created MARCHETYPES-70: - Summary: Quickstart support for junit 5 and java 9+ Key: MARCHETYPES-70 URL: https://issues.apache.org/jira/browse/MARCHETYPES-70 Project: Maven Archetype Bundles Issue Type: Improvement Components: Maven Quickstart Archetype Affects Versions: 1.4, 1.3 Reporter: Jurrian Fahner Quickstart archetype is outdated due to the support for java versions below 9 and junit 4. The changes needs to be made backwards compatible in order to avoid breaking changes for legacy projects. For the support of java 9+ the java version tag must change from: {code:xml} 1.8 1.8 {code} to: {code:xml} 11 {code} For junit 5 support it is needed to add junit-jupiter-api and the vintage plugin, to add support for large older projects (with old junit tests in it). Example for dependencies for junit 5 it will look like: {code:xml} org.junit.jupiter junit-jupiter-api 5.2.2 test org.junit.jupiter junit-jupiter-engine 5.2.2 test {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)