Skip to content

Commit

Permalink
Replaces junit dep w/ org.junit.vintage
Browse files Browse the repository at this point in the history
This allows to execute Junit4 tests w/ Junit5.
Thus old tests can remain untouched while new tests should be written in Junit5
Therefore also added org.junit.jupiter (Junit5) dep.
  • Loading branch information
wlad committed Aug 24, 2020
1 parent d3c876a commit 6e8f721
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,6 @@ __pycache__
log.html
output.xml
report.html

# VSCode Editor
.vscode
16 changes: 13 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,20 @@


<dependencies>

<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-api -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>5.6.0</version>
<scope>test</scope>
</dependency>

<!-- https://mvnrepository.com/artifact/org.junit.vintage/junit-vintage-engine -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<groupId>org.junit.vintage</groupId>
<artifactId>junit-vintage-engine</artifactId>
<version>5.6.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down

0 comments on commit 6e8f721

Please sign in to comment.