技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
spring-mvc-testing【数据与研究】Boot 4+ replaced MockMvc assertions with MockMvcTester — incompatible API your training data gets wrong. Read before writing any @WebMvcTest. Triggers: @WebMvcTest, MockMvc, MockMvcTester, @RestController, jsonPath, @GetMapping, @PostMapping, @AutoConfigureMockMvc, MockMvcRequestBuilders, status().isOk(), @RestControllerAdvice, contentType(APPLICATIO…
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Signals: @WebMvcTest, MockMvc, jsonPath, @AutoConfigureMockMvc, @RestController, MockMvcRequestBuilders, MockMvcResultMatchers, objectMapper
@WebMvcTest)spring-security-testingWebFlux, WebClient, SSE) → use spring-webflux-testingspring-jpa-testingspring-websocket-testingspring-testing-fundamentals| Situation | Read |
|---|---|
Setting up @WebMvcTest, MockMvc configuration, static imports | references/mvc-rest-testing-patterns.md |
| GET, POST, PUT, DELETE request patterns | references/mvc-rest-testing-patterns.md |
jsonPath assertions, response headers, multipart uploads | references/mvc-rest-testing-patterns.md |
Testing @Valid bean validation, @RestControllerAdvice exception handlers | references/mvc-rest-testing-patterns.md |
Boot 4 RestTestClient migration | references/mvc-rest-testing-patterns.md |
| Anti-patterns and common mistakes | references/mvc-rest-testing-patterns.md |