当前分类:spring-test

java - SpringExtension 没有显式配置?

Spring 批量测试用例

java - @DirtyContext 的替代方案,用于在 Spring Boot 下使用内存数据库中的 H2 进行隔离 JUnit 测试

spring-boot - 测试 REST 端点时模拟 JWT AuthenticationPrincipal

spring - java.lang.IllegalStateException(未找到方法) : Calling MockMvc. 使用自定义 Filter 在一次测试中执行多次

java - 将 bean 注入(inject) WebMvc 测试的上下文中 : @AutoConfigureMockMvc cannot be used in combination with the @Component annotation @Configuration

java - 如何在测试中覆盖单个应用程序属性

java - 无法使用 @springboot.web.CommentsApiControllerTest$WithMockCustomUser 创建 SecurityContext

spring - 构建期间 jUnit 中出现多个嵌入式 HSQLDB 数据库错误

java - IntelliJ @IfProfileValue 默认值

spring - @Autowired 依赖项的 @Mock 导致随机 junit 测试失败

spring-boot - SpringBoot junit测试多个TomcatServletContainerInitializer 's - BindException: Address already in use"

java - spring junit默认会回滚吗?

spring - 在 TestRestTemplate 中启用 Cookie 和重定向

spring - 接口(interface)上的 @SpringBootTest 注释不起作用

java - 在 Spring Boot 测试中测试 @Cacheable : Caffeine cache not invoked on MockBean

spring-mvc - 使用对象列表作为请求参数的 MockMvc 集成测试

java - Spring Boot 测试无法解决存储库依赖关系

java - 找不到@SpringBootConfiguration

java - 模拟 JWT 实用程序来验证 token

热门标签: