Skip to content

prashanth-sams/junit5-workshop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JUnit 5 Dumbs

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

setup

  1. Go to IntelliJ IDEA > Preferences > Plugins
  2. Search and install plugin Maven Archetype Catalogs
  3. Go to IntelliJ IDEA > Preferences and search Maven
  4. Select Maven Archetype Catalogs and add this repository https://repo1.maven.org/maven2/archetype-catalog.xml
  5. Go to IntelliJ IDEA > New > Project...
  6. Select Create from archetype > org.apache.maven.archetypes:maven-archetype-quickstart and create a new project

Library Used:

JUnit Jupiter (Aggregator), Hamcrest

Note:
  • 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