Skip to main content

test

Write, update, and fix tests in S3Mock. Use when asked to add test coverage, create test cases, fix failing tests, or verify test correctness. Covers unit tests (*Test.kt in server/), controller slice tests (@WebMvcTest), and integration tests (*IT.kt in integration-tests/ against a live Docker container).

소스 정보

저장소
adobe/S3Mock
최근 소스 활동
2026년 7월 27일 17:34
감지된 SKILL.md 언어
영어
스타
1,174
포크
200

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
test
description
Write, update, and fix tests in S3Mock. Use when asked to add test coverage, create test cases, fix failing tests, or verify test correctness. Covers unit tests (*Test.kt in server/), controller slice tests (@WebMvcTest), and integration tests (*IT.kt in integration-tests/ against a live Docker container).
# Test Skill ## Entry Criteria Use to add/update unit tests (`*Test.kt`) or integration tests (`*IT.kt`), fix failing tests, or verify test coverage. ## Before Starting 1. Read root `AGENTS.md`, the relevant module `AGENTS.md`, and **[docs/TESTING.md](../../../docs/TESTING.md)** for base classes, conventions, and running commands. 2. If existing tests have structural problems (poor naming, shared state, weak assertions), invoke the **`refactor` skill** first. ## Execution Steps 1. Select the base class per `docs/TESTING.md` § Unit Tests, or `S3TestBase` per **[integration-tests/AGENTS.md](../../../integration-tests/AGENTS.md)** for integration tests. 2. Write tests following `docs/TESTING.md` conventions (naming, structure, assertions, independence). 3. Cover both success and failure/error paths. 4. Update the copyright year in every modified file (`INVARIANTS.md`). 5. Invoke the **`lint` skill**. 6. Run `make test` (unit) or `make integration-tests` (integration) to verify locally. ## Completion Criteria - [ ] All new/changed code paths covered, including failure cases - [ ] Correct base class and conventions used (per `docs/TESTING.md`) - [ ] Tests pass locally - [ ] Copyright year updated in every modified file - [ ] Lint gates pass (via `lint` skill) ## Resources - [`AGENTS.md`](../../../AGENTS.md), [`INVARIANTS.md`](../../../INVARIANTS.md) - Relevant module `AGENTS.md` (`server/AGENTS.md` or `integration-tests/AGENTS.md`) - [`docs/TESTING.md`](../../../docs/TESTING.md), [`docs/KOTLIN.md`](../../../docs/KOTLIN.md)
GitHub에서 보기