Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in spring-test

Testing Spring Framework 4 with Servlet 2.5

java spring spring-test

Tests fail when executed from maven but not from Intellij

java maven junit h2 spring-test

Using @MockBean in tests forces reloading of Application Context

Spring test with @DataJpaTest can't autowire class with @Repository (but with interface repository works!)

Spring Testing: How to enable auto-scan of beans

What are TestExecutionListeners, and what do they do?

Using Spring mockMvc to test optional path variables

request scoped beans in spring testing

Spring Test session scope bean using Junit

MockMvc no longer handles UTF-8 characters with Spring Boot 2.2.0.RELEASE

Spring MockMvc verify body is empty

How to mock remote REST API in unit test with Spring?

Unable to find a @SpringBootConfiguration, you need to use @ContextConfiguration or @SpringBootTest(classes=...) with your test

How to autowire field in static @BeforeClass?

java spring junit spring-test

How to clean up mocks in spring tests when using Mockito

Error: Unable to find @SpringBootConfiguration when doing @WebMvcTest for Spring Controller

Configure specific in memory database for testing purpose in Spring

@RunWith(SpringRunner.class) vs @RunWith(MockitoJUnitRunner.class)

junit mockito spring-test

spring boot test unable to inject TestRestTemplate and MockMvc

Spring boot 1.4 Testing : Configuration error: found multiple declarations of @BootstrapWith