Discussion:
[jira] [Created] (MARCHETYPES-61) Update quickstart to use JUnit 5
Dmitry Timofeev (JIRA)
2018-10-13 11:16:00 UTC
Permalink
Dmitry Timofeev created MARCHETYPES-61:
------------------------------------------

Summary: Update quickstart to use JUnit 5
Key: MARCHETYPES-61
URL: https://issues.apache.org/jira/browse/MARCHETYPES-61
Project: Maven Archetype Bundles
Issue Type: Improvement
Reporter: Dmitry Timofeev






--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Dmitry Timofeev (JIRA)
2018-10-13 11:19:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MARCHETYPES-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Timofeev updated MARCHETYPES-61:
---------------------------------------
Description:
Update quickstart archetype to generate a project using JUnit 5, the next version of the most popular testing framework.

Currently one has to include _at least_ two dependencies on JUnit 5 artefacts to enable surefire to run them: junit-jupiter-api and junit-jupiter-engine.

Possible structure of dependencies:
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.3.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>

<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>

<!-- Optionally: parameterized tests support -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>{code}
Post by Dmitry Timofeev (JIRA)
Update quickstart to use JUnit 5
--------------------------------
Key: MARCHETYPES-61
URL: https://issues.apache.org/jira/browse/MARCHETYPES-61
Project: Maven Archetype Bundles
Issue Type: Improvement
Reporter: Dmitry Timofeev
Priority: Major
Update quickstart archetype to generate a project using JUnit 5, the next version of the most popular testing framework.
Currently one has to include _at least_ two dependencies on JUnit 5 artefacts to enable surefire to run them: junit-jupiter-api and junit-jupiter-engine.
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.3.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- Optionally: parameterized tests support -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Dmitry Timofeev (JIRA)
2018-10-13 11:20:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MARCHETYPES-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Timofeev updated MARCHETYPES-61:
---------------------------------------
Affects Version/s: 1.3
Post by Dmitry Timofeev (JIRA)
Update quickstart to use JUnit 5
--------------------------------
Key: MARCHETYPES-61
URL: https://issues.apache.org/jira/browse/MARCHETYPES-61
Project: Maven Archetype Bundles
Issue Type: Improvement
Components: Maven Quickstart Archetype
Affects Versions: 1.3
Reporter: Dmitry Timofeev
Priority: Minor
Update quickstart archetype to generate a project using JUnit 5, the next version of the most popular testing framework.
Currently one has to include _at least_ two dependencies on JUnit 5 artefacts to enable surefire to run them: junit-jupiter-api and junit-jupiter-engine.
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.3.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- Optionally: parameterized tests support -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Dmitry Timofeev (JIRA)
2018-10-13 11:20:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MARCHETYPES-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Timofeev updated MARCHETYPES-61:
---------------------------------------
Priority: Minor (was: Major)
Post by Dmitry Timofeev (JIRA)
Update quickstart to use JUnit 5
--------------------------------
Key: MARCHETYPES-61
URL: https://issues.apache.org/jira/browse/MARCHETYPES-61
Project: Maven Archetype Bundles
Issue Type: Improvement
Components: Maven Quickstart Archetype
Affects Versions: 1.3
Reporter: Dmitry Timofeev
Priority: Minor
Update quickstart archetype to generate a project using JUnit 5, the next version of the most popular testing framework.
Currently one has to include _at least_ two dependencies on JUnit 5 artefacts to enable surefire to run them: junit-jupiter-api and junit-jupiter-engine.
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.3.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- Optionally: parameterized tests support -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Dmitry Timofeev (JIRA)
2018-10-13 11:20:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MARCHETYPES-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dmitry Timofeev updated MARCHETYPES-61:
---------------------------------------
Component/s: Maven Quickstart Archetype
Post by Dmitry Timofeev (JIRA)
Update quickstart to use JUnit 5
--------------------------------
Key: MARCHETYPES-61
URL: https://issues.apache.org/jira/browse/MARCHETYPES-61
Project: Maven Archetype Bundles
Issue Type: Improvement
Components: Maven Quickstart Archetype
Affects Versions: 1.3
Reporter: Dmitry Timofeev
Priority: Minor
Update quickstart archetype to generate a project using JUnit 5, the next version of the most popular testing framework.
Currently one has to include _at least_ two dependencies on JUnit 5 artefacts to enable surefire to run them: junit-jupiter-api and junit-jupiter-engine.
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.3.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- Optionally: parameterized tests support -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Dmitry Timofeev (JIRA)
2018-10-13 11:21:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MARCHETYPES-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16648883#comment-16648883 ]

Dmitry Timofeev commented on MARCHETYPES-61:
--------------------------------------------

Surefire will need to be updated first to support junit 5 properly: https://github.com/apache/maven-archetypes/pull/1
Post by Dmitry Timofeev (JIRA)
Update quickstart to use JUnit 5
--------------------------------
Key: MARCHETYPES-61
URL: https://issues.apache.org/jira/browse/MARCHETYPES-61
Project: Maven Archetype Bundles
Issue Type: Improvement
Components: Maven Quickstart Archetype
Affects Versions: 1.3
Reporter: Dmitry Timofeev
Priority: Minor
Update quickstart archetype to generate a project using JUnit 5, the next version of the most popular testing framework.
Currently one has to include _at least_ two dependencies on JUnit 5 artefacts to enable surefire to run them: junit-jupiter-api and junit-jupiter-engine.
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.3.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- Optionally: parameterized tests support -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Kimberly (JIRA)
2018-11-15 15:25:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MARCHETYPES-61?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16688213#comment-16688213 ]

Kimberly commented on MARCHETYPES-61:
-------------------------------------

I dont want my devices changed from factory settings. My son has interfaced and rooted my phone and hacked my laptop. Im trying too reverse it.
Post by Dmitry Timofeev (JIRA)
Update quickstart to use JUnit 5
--------------------------------
Key: MARCHETYPES-61
URL: https://issues.apache.org/jira/browse/MARCHETYPES-61
Project: Maven Archetype Bundles
Issue Type: Improvement
Components: Maven Quickstart Archetype
Affects Versions: 1.3
Reporter: Dmitry Timofeev
Priority: Minor
Update quickstart archetype to generate a project using JUnit 5, the next version of the most popular testing framework.
Currently one has to include _at least_ two dependencies on JUnit 5 artefacts to enable surefire to run them: junit-jupiter-api and junit-jupiter-engine.
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.3.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- Optionally: parameterized tests support -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
Hervé Boutemy (JIRA)
2018-12-09 11:26:00 UTC
Permalink
[ https://issues.apache.org/jira/browse/MARCHETYPES-61?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Hervé Boutemy updated MARCHETYPES-61:
-------------------------------------
Comment: was deleted

(was: I dont want my devices changed from factory settings. My son has interfaced and rooted my phone and hacked my laptop. Im trying too reverse it.)
Post by Dmitry Timofeev (JIRA)
Update quickstart to use JUnit 5
--------------------------------
Key: MARCHETYPES-61
URL: https://issues.apache.org/jira/browse/MARCHETYPES-61
Project: Maven Archetype Bundles
Issue Type: Improvement
Components: Maven Quickstart Archetype
Affects Versions: 1.3
Reporter: Dmitry Timofeev
Priority: Minor
Update quickstart archetype to generate a project using JUnit 5, the next version of the most popular testing framework.
Currently one has to include _at least_ two dependencies on JUnit 5 artefacts to enable surefire to run them: junit-jupiter-api and junit-jupiter-engine.
{code:java}
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>5.3.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<scope>test</scope>
</dependency>
<!-- Optionally: parameterized tests support -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
<scope>test</scope>
</dependency>
</dependencies>{code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Loading...