Update content headings

pull/3291/head
Kamran Ahmed 2 years ago
parent 5f23d4c7eb
commit ba86e8a6b1
  1. 2
      src/roadmaps/spring-boot/content/110-testing/102-spring-boot-test-annotation.md
  2. 2
      src/roadmaps/spring-boot/content/110-testing/103-mockbean-annotation.md

@ -1,4 +1,4 @@
# Spring boot test annotation # @SpringBootTest annotation
`@SpringBootTest` This annotation is used to create a fully-configured instance of the Spring ApplicationContext for testing. It can be used to test the application's components, including controllers, services, and repositories, in a real application environment. `@SpringBootTest` This annotation is used to create a fully-configured instance of the Spring ApplicationContext for testing. It can be used to test the application's components, including controllers, services, and repositories, in a real application environment.

@ -1,4 +1,4 @@
# Mockbean Annotation # @MockBean Annotation
`MockBean` is a Spring annotation that can be used to create a mock implementation of a bean in the Spring application context. When a test is annotated with MockBean, Spring creates a mock implementation of the specified bean and adds it to the application context. The mock bean can then be used to replace the real bean during testing. `MockBean` is a Spring annotation that can be used to create a mock implementation of a bean in the Spring application context. When a test is annotated with MockBean, Spring creates a mock implementation of the specified bean and adds it to the application context. The mock bean can then be used to replace the real bean during testing.

Loading…
Cancel
Save