Created
January 29, 2023 05:37
-
-
Save codinko/13072ba32d02e6aae1cd14935b5abb7c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- junit-jupiter-engine alone is good enough to write test cases in Junit 5.. | |
<dependency> | |
<groupId>org.junit.jupiter</groupId> | |
<artifactId>junit-jupiter-engine</artifactId> | |
<version>5.9.1</version> | |
<scope>test</scope> | |
</dependency> | |
-- The above one will add transitive dependencies as below.. | |
Among these dependencies, there is 'junit-jupiter-api' which contains the classes and interfaces that is required to compile your test cases.. | |
: junit-jupter-engine | |
: junit-platform-engine | |
: junit-jupiter-api | |
: junit-platform-commons | |
etc | |
------Listing all dependencies incase needed---------- | |
<dependencies> | |
<dependency> | |
<groupId>org.junit.platform</groupId> | |
<artifactId>junit-platform-launcher</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.junit.jupiter</groupId> | |
<artifactId>junit-jupiter-engine</artifactId> | |
<scope>test</scope> | |
</dependency> | |
<dependency> | |
<groupId>org.junit.vintage</groupId> | |
<artifactId>junit-vintage-engine</artifactId> | |
<scope>test</scope> | |
</dependency> | |
</dependencies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment