Search code examples
What is the best way to test that a spring application context fails to start?...


springjunitspring-bootspring-test

Read More
How to write Junit test for mapstruct abstract mapper injected via Spring...


springunit-testingjunitspring-testmapstruct

Read More
JUnit Tests: Why is Maven (Surefire) so much slower than running on Eclipse?...


javamavenunit-testingjunitspring-test

Read More
Undo @Sql after each test...


springspring-bootspring-testspring-boot-test

Read More
@SpringBootTest Tests with WebTestClient are broken after spring-boot-starter-parent version 3.2.5 m...


springspring-bootjunitspring-webfluxspring-test

Read More
Spring Boot properties in 'application.yml' not loading from JUnit Test...


javaspringjunitspring-bootspring-test

Read More
AssertionError: No value at JSON path "$.title" in Junit Mockito Test...


springjunitspring-testjsonpathspring-test-mvc

Read More
org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' failed to disc...


javajunitjunit5spring-testjunit-jupiter

Read More
How to get @WebMvcTest work with OAuth?...


javaspring-bootjwtspring-security-oauth2spring-test

Read More
How to fix this error: java.lang.NoSuchMethodError: 'java.lang.AutoCloseable org.mockito.Mockito...


javaunit-testinggradlemockitospring-test

Read More
Ldap attribues for testing in Spring Boot with ApacheDS...


spring-bootspring-testopenldapspring-ldapapacheds

Read More
Using @MockBean in tests forces reloading of Application Context...


javaspringmockitospring-testspringmockito

Read More
How to unit test spring's gateway?...


javaspringtestingspring-testspring-cloud-gateway

Read More
Spring / MockMvc: A multipart post request of file&non-file parts causing issues matching the co...


javaspringunit-testingspring-testmockmvc

Read More
@DataJpaTest throws "Error creating bean with name 'jpaAuditingHandler'" occasiona...


javaspringspring-bootspring-data-jpaspring-test

Read More
Test Unit Spring boot: Unable to register mock bean...


javaspringunit-testingspring-bootspring-test

Read More
Spring Boot: @TestConfiguration Not Overriding Bean During Integration Test...


javaspring-bootspring-test

Read More
How can Spring's test annotation @Sql behave like @BeforeClass?...


javaspringjunitspring-test

Read More
When i try to test with Testcontainers more than one TestClass, others always failed...


javaspring-bootspring-testtestcontainersspring-boot-testcontainers

Read More
any() vs any(Class.class) Mockito...


junitmockitospring-testspringmockito

Read More
Spring Test returning 401 for unsecured URLs...


javaspringspring-mvcspring-bootspring-test

Read More
Why when mocked predicate, return null pointer?...


javaspring-data-jpamockitospring-testspringmockito

Read More
Make ApplicationContext dirty before and after test class...


javaspringspring-test

Read More
Setting up Spring test env using H2 script initialization fails when inserting simple SQL data: &quo...


springspring-datah2spring-jdbcspring-test

Read More
Generating unit tests for my service implementations on the spring boot application...


javaspring-bootjunitspring-test

Read More
@WebMvcTest Error creating bean with name 'securityConfiguration'...


javaspringspring-bootspring-testspring-test-mvc

Read More
How to set environment variable or system property in spring tests?...


javaspringenvironment-variablesspring-test

Read More
Should I use @DirtiesContext on every class?...


springjunitspring-test

Read More
How to enable DEBUG level for unit tests in Springboot 3.1.10?...


spring-bootunit-testingloggingjunitspring-test

Read More
Upgrading Springframework-security from 6.1.1 to 6.2.2 break tests...


spring-securityspring-test

Read More
BackNext