Learn Software Testing With Assert, Junit, Mockito
I. Introduction With the recent release of Spring 2.2.0, it is now loaded with JUnit5. What I personally like with this version is the...

I. Introduction
II. Creating the Spring Boot Project
- Create a new project using the Spring Starter Project template.
- Add the following dependencies:
-spring-boot-starter-web
-spring-boot-starter-data-jpa
-spring-boot-devtools
-h2
-lombok - Add plugin maven-surefire-plugn
- Add the following properties to your application.properties file:
-spring.main.allow-bean-definition-overriding=true
-spring.jpa.hibernate.ddl-auto=create-drop - Create the entity, repository and service classes available at the end of this blog.
Post a Comment