Updated dependencies: JUnit 4 to JUnit 5

This commit is contained in:
Rsl1122 2018-12-15 10:58:26 +02:00
parent 09f51ee087
commit 016fd542f6

View File

@ -44,7 +44,7 @@
<id>bstats-repo</id>
<url>http://repo.bstats.org/content/repositories/releases/</url>
</repository>
<repository>
<repository> <!-- PlanPluginBridge Repository -->
<snapshots>
<enabled>false</enabled>
</snapshots>
@ -55,49 +55,64 @@
</repositories>
<dependencies>
<!-- Dependency injection is used across the whole project.-->
<dependency>
<groupId>com.google.dagger</groupId>
<artifactId>dagger</artifactId>
<version>2.19</version>
</dependency>
<!-- Test tooling dependencies -->
<dependency> <!-- JUnit 5-->
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
<dependency> <!-- JUnit 4 runner for JUnit 5 tests-->
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-runner</artifactId>
<version>1.3.2</version>
<scope>test</scope>
</dependency>
<dependency> <!-- JUnit 4 compatibility for JUnit 5 -->
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.3.2</version>
<scope>test</scope>
</dependency>
<dependency> <!-- Mockito -->
<groupId>org.mockito</groupId>
<artifactId>mockito-core</artifactId>
<version>2.23.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.25.2</version>
<dependency> <!-- JUnit 5 Mockito extension -->
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>2.23.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
<artifactId>hamcrest-core</artifactId>
<version>1.3</version>
<scope>test</scope>
</dependency>
<dependency>
<dependency> <!-- Selenium (Browser tests) -->
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
<version>3.14.0</version>
<scope>test</scope>
</dependency>
<dependency>
<dependency> <!-- Awaitility (Concurrency wait conditions) -->
<groupId>com.jayway.awaitility</groupId>
<artifactId>awaitility</artifactId>
<version>1.7.0</version>
<scope>test</scope>
</dependency>
<!-- Dependency injection is used across the whole project.-->
<dependency>
<groupId>com.google.dagger</groupId>
<artifactId>dagger</artifactId>
<version>2.19</version>
<!-- Testing dependencies required by Plan -->
<dependency> <!-- SQLite -->
<groupId>org.xerial</groupId>
<artifactId>sqlite-jdbc</artifactId>
<version>3.25.2</version>
<scope>test</scope>
</dependency>
</dependencies>
@ -289,6 +304,10 @@
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.2</version>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.22.1</version>
</plugin>
</plugins>
</build>