Skip to main content
在 Manus 中运行任何 Skill
一键导入

rest-test-client

星标8
分支4
更新时间2026年7月15日 20:18

Test REST APIs with Spring Framework 7's RestTestClient — one fluent client for every level, via bindToController (unit), bindTo(MockMvc), bindToApplicationContext, bindToServer (E2E), and bindToRouterFunction. Use when writing or migrating tests for HTTP endpoints in a Boot 4 / FW 7 project (check the build file — users rarely state the version) and you want a single consistent API instead of switching between MockMvc, WebTestClient, and TestRestTemplate. Do NOT use when the user specifically wants AssertJ-style server-side assertions or to compare the two testing tools (see mock-vs-rest), nor for non-HTTP unit tests.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly