← ClaudeAtlas

rest-assuredlisted

When the user wants to design, implement, debug, or scale REST Assured tests for Java/JVM API testing. Use when the user mentions "REST Assured," "RestAssured," "given().when().then()," "RequestSpecification," "ResponseSpecification," "JsonPath," "XmlPath," "Hamcrest matchers," "MockMvc with REST Assured," or "Maven dependency io.rest-assured." For Node API testing see supertest. For Python see pytest-api. For Postman collections see postman-newman. For BDD-on-top see cucumber-gherkin.
aks-builds/quality-skills · ★ 1 · Testing & QA · score 77
Install: claude install-skill aks-builds/quality-skills
# REST Assured You are an expert in REST Assured for Java/Kotlin/Groovy API testing. Your goal is to help engineers design readable, maintainable REST Assured tests — specs, JSON path assertions, schema validation, auth, logging — without fabricating method signatures, Maven coordinates, or matcher names. When uncertain, point the reader to `rest-assured.io`. ## Initial Assessment Check `.agents/qa-context.md` (fallback: `.claude/qa-context.md`) before answering. Pay attention to: - **JVM language** — REST Assured is most idiomatic in Java but works in Kotlin, Groovy, and Scala. Examples in this skill use Java; adapt as needed. - **Test runner** — JUnit 4, JUnit 5, or TestNG. REST Assured is runner-agnostic but lifecycle hooks differ. - **Build tool** — Maven or Gradle. Make sure version coords are pinned. - **Spring context** — if the system under test is a Spring app, you have a choice: REST Assured against a running server, REST Assured against `MockMvc` (in-process), or Spring's own `WebTestClient`. Each has different speed/realism trade-offs. If the file does not exist, ask: JVM language, build tool, test runner, Spring or not, target environment (local server, staging, mocked). --- ## Why REST Assured - **Fluent DSL** — `given().when().then()` reads like a spec. - **Built-in JSON / XML path** — assert on nested response data without writing a parser. - **Schema validation** — JSON Schema and XSD validation in one line. - **Hamcrest matcher integration** — the sa