This article will tell you how to add the JUnit 5 java library into the eclipse project. It introduces two methods, one is to add the JUnit 5 java library as standalone jar files to the eclipse project, the other is how to add JUnit 5 dependency in pom.xml of the eclipse maven project.