Exercise yourself with JUnit5 framework
Exercise | Status | Exercise | Status | Exercise | Status |
---|---|---|---|---|---|
Hooks | ✅ | Assumptions | ✅ | Hamcrest | ✅ |
Parameterize | ✅ | DisableTests | ✅ | Listener | ✅ |
Order | ✅ | Repeated Tests | ✅ | Timeout | ✅ |
Tags | ✅ | Assertions | ✅ | Nested Tests | ✅ |
Annotation | ✅ | DynamicTest | ✅ | Enum | ✅ |
- Go to
IntelliJ IDEA > Preferences > Plugins
- Search and install plugin
Maven Archetype Catalogs
- Go to
IntelliJ IDEA > Preferences
and searchMaven
- Select
Maven Archetype Catalogs
and add this repository https://repo1.maven.org/maven2/archetype-catalog.xml - Go to
IntelliJ IDEA > New > Project...
- Select
Create from archetype > org.apache.maven.archetypes:maven-archetype-quickstart
and create a new project
Library Used:
JUnit Jupiter (Aggregator), Hamcrest
- Java JDK version 8 or higher is required for using JUnit 5
- JUnit Jupiter (Aggregator) is the best dependency to add to your project in order to have access to all the JUnit 5 features