Test
Use when running backend tests - executes gradle test with optional test class filterFrom its SKILL.md
npx -y skills add LeoHeo/dev-squad --skill testAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
1.3 KB, as published. Nobody here has run it
테스트를 실행해줘.
사전 준비
.claude/project-config.json을 읽어서 대상 디렉토리와 type을 확인해줘.
파일이 없으면 /start-work를 먼저 실행하라고 안내해줘.
type별 테스트 명령어
| type | 기본 명령어 | 필터 명령어 |
|---|---|---|
spring-boot (gradle) | ./gradlew test | ./gradlew test --tests "{filter}" |
spring-boot (maven) | ./mvnw test | ./mvnw test -Dtest="{filter}" |
nuxt / nextjs / vite / node | npm run test:unit | npm run test:unit -- {filter} |
go | go test ./... | go test ./... -run "{filter}" |
rust | cargo test | cargo test {filter} |
| 기타 | AskUserQuestion으로 테스트 명령어 확인 | - |
실행 규칙
- project-config.json에서 대상 디렉토리 목록을 가져옴
- 인자(
$ARGUMENTS)가 있으면 해당 디렉토리의 type에 맞는 필터 명령어 사용 - 인자가 없으면 기본 명령어 사용
- 여러 디렉토리가 있으면 각각 순서대로 실행
결과 처리
- 성공: 테스트 결과 요약
- 실패: 실패 원인 분석 후 수정 코드 제시
인자: $ARGUMENTS