Skip to content

SubhashiniArun/spring-testing-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sample project - Spring Boot Testing (spring-boot-starter-test)

Unit tests - tests business logic of particular unit (a class, a method or a set of classes)

-> Spring Boot provides SpringTest, JUnit5, Mockito, JsonPath, JsonAssert

Slice tests - tests a slice of an application (web layer or persistence layer)

-> Spring Boot provides @WebMvcTest, @DataJpaTest, @DataMongoTest

Integration tests - loads the entire application then make an API call and test the result

-> Spring Boot provides @SpringBootTest

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages