Please enable JavaScript.
Coggle requires JavaScript to display documents.
Spring Testing - Coggle Diagram
Spring Testing
Annotations
-
ensure to auto-configure your security rules and if you include the Spring Security Test dependency you can easily mock the authenticated user
-
Includes components: Repository, EntityManager, TestEntityManager, DataSource
-
-
-
Will slow down the delivery pipeline becausa for every test suit it will load the entire application context
-
-
-
-
-
-
Test Slice
Spring Boot offers great support to test different slices (web, database, etc.) of your application
allows you to write tests for specific parts of your application in isolation without bootstrapping the whole Spring Context
-
-
-
-