upgrade junit
<version>1.3.1</version>
</dependency>
+ <dependency>
+ <groupId>org.junit</groupId>
+ <artifactId>junit-bom</artifactId>
+ <version>5.8.2</version>
+ <type>pom</type>
+ <scope>import</scope>
+ </dependency>
+
</dependencies>
</dependencyManagement>
<dependencies>
- <dependency>
- <groupId>org.junit.jupiter</groupId>
- <artifactId>junit-jupiter-api</artifactId>
- <version>5.0.2</version>
- <scope>test</scope>
- </dependency>
- <!-- Only required to run tests in an IDE that bundles an older version -->
+ <!-- Only needed to run tests in a version of IntelliJ IDEA that bundles older versions -->
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
- <version>1.0.2</version>
<scope>test</scope>
</dependency>
- <!-- Only required to run tests in an IDE that bundles an older version -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
- <version>5.0.2</version>
<scope>test</scope>
</dependency>
- <!-- Only required to run tests in an IDE that bundles an older version -->
<dependency>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
- <version>4.12.2</version>
- <scope>test</scope>
- </dependency>
- <!-- To avoid compiler warnings about @API annotations in JUnit code -->
- <dependency>
- <groupId>org.apiguardian</groupId>
- <artifactId>apiguardian-api</artifactId>
- <version>1.0.0</version>
<scope>test</scope>
</dependency>
</dependencies>
