Search code examples
Difference when executing tests via @SpringJUnitConfig vs @SpringBootTest...


spring-boottestingdependency-injectionspring-test

Read More
Error wihile runnging Test: No EntityManager with actual transaction available for current thread - ...


spring-boothibernatejunit5spring-testjunit-jupiter

Read More
Using Spring mockMvc to test optional path variables...


javaspringspring-mvcspring-testspring-test-mvc

Read More
Spring test @Sql throws "Unterminated dollar quote started ... Expected terminating $$"...


postgresqlplpgsqlspring-testspring-boot-test

Read More
JUnit parametrized test with parametrized Spring ApplicationContext configuration...


springkotlinspring-testjunit-jupiterparametrized-testing

Read More
How to use @LocalPort together with @DynamicPropertySource in a SpringBootTest?...


spring-bootkotlinspring-test

Read More
wiremock AutoConfigureWireMock HttpHostConnectException: Connection refused...


javaspring-bootjunitspring-testwiremock

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


javajunitjunit5spring-testjunit-jupiter

Read More
SpringBootTest context with mapstruct.Mapper bean...


javaspring-bootspring-testmapstruct

Read More
What's the deal with url and urlPattern in WireMock?...


spring-testwiremock

Read More
Spring Context Test With Just One Bean...


spring-bootspring-testspring-boot-test

Read More
How to test Spring @Conditional beans...


springspring-bootspring-test

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


springunit-testingjunitspring-testmapstruct

Read More
Duplicate Content-Type header in Spring REST Docs using RestAssuredMockMvc...


springspockrest-assuredspring-testspring-restdocs

Read More
Using different Auth mock up in Spring Junit tests...


javaspringjunitspring-test

Read More
insert date in composite type during a @DatabaseSetup...


postgresqlspring-testcomposite-types

Read More
How to clean up mocks in spring tests when using Mockito...


spring-mvcmockitospring-test

Read More
java.lang.NoClassDefFoundError: org/junit/rules/TestRule in JUnit 5...


junitjunit5spring-testspring-test-mvc

Read More
Rollback transaction after @Test...


javaspringhibernatejunitspring-test

Read More
How can I stub a method before Spring ApplicationReadyEvent?...


javaspringspring-testspring-context

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


javaspring-bootspring-mvcjacksonspring-test

Read More
Testing spring controllers and setting up Junit test...


spring-test

Read More
How to disable crsf protection in @WebFluxTest?...


springspring-bootspring-securityspring-test

Read More
Spring Boot. @DataJpaTest H2 embedded database create schema...


spring-bootintegration-testingh2spring-testembedded-database

Read More
How to associate the mockmvc user to the security context holder...


spring-bootkotlinunit-testingspring-testmockmvc

Read More
WebTestClient check that jsonPath contains sub string...


javaspring-testreactive

Read More
How to enable controller parameter validation for standalone MockMvc...


testngspring-testmockmvcspring-test-mvc

Read More
Spring rabbitmq testing - RabbitListenerTestHarness doesn't find any listener...


springrabbitmqspring-testspring-rabbit

Read More
Spring Boot Test failed to load ApplicationContext due to missing Around annotation...


spring-bootintegration-testingspring-aopspring-test

Read More
Test for Email Sending Failure returns HTTP 200 instead of 500...


spring-bootspring-mvcspring-securitymockitospring-test

Read More
BackNext