·test-implement-constructor-validation
</>

test-implement-constructor-validation

서비스 클래스 서명에서 생성자 유효성 검사 테스트를 자동 생성합니다. 새로운 서비스에 대한 테스트를 생성하고, 빠른 실패 원칙을 검증할 때 사용합니다. 생성자 유효성 검사를 보장하거나 필수 매개변수를 테스트합니다. 분석 __init__ 메소드를 서비스하고 pytest.raises(ValueError) 테스트를 생성합니다. 각 필수 매개변수에 대해. 다음 Python 서비스 클래스와 함께 작동합니다. 의존성 주입 패턴 높은 자동화 기회(100개 이상의 테스트 클래스 이 패턴을 사용하세요).

4설치·0트렌드·@dawiddutoit

설치

$npx skills add https://github.com/dawiddutoit/custom-claude --skill test-implement-constructor-validation

test-implement-constructor-validation 설치 방법

명령줄에서 test-implement-constructor-validation AI 스킬을 개발 환경에 빠르게 설치

  1. 터미널 열기: 터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다
  2. 설치 명령어 실행: 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/dawiddutoit/custom-claude --skill test-implement-constructor-validation
  3. 설치 확인: 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

출처: dawiddutoit/custom-claude.

Automatically generate comprehensive constructor validation tests for service classes that follow the fail-fast principle. This skill ensures every required parameter has a corresponding test that validates the service raises ValueError when that parameter is None.

Fixture Exclusion Pattern: Each validation test excludes the fixture for the parameter being tested:

For a complex service with 5 parameters, follow the same pattern as Example 1 above. Create a test class with fixtures for each parameter, a success case test, and one validation failure test for each required parameter. See references/reference.md for detailed pattern analysis and edge cases.

서비스 클래스 서명에서 생성자 유효성 검사 테스트를 자동 생성합니다. 새로운 서비스에 대한 테스트를 생성하고, 빠른 실패 원칙을 검증할 때 사용합니다. 생성자 유효성 검사를 보장하거나 필수 매개변수를 테스트합니다. 분석 __init__ 메소드를 서비스하고 pytest.raises(ValueError) 테스트를 생성합니다. 각 필수 매개변수에 대해. 다음 Python 서비스 클래스와 함께 작동합니다. 의존성 주입 패턴 높은 자동화 기회(100개 이상의 테스트 클래스 이 패턴을 사용하세요). 출처: dawiddutoit/custom-claude.

인용 가능한 정보

AI/검색 인용용 안정적인 필드와 명령어.

설치 명령어
npx skills add https://github.com/dawiddutoit/custom-claude --skill test-implement-constructor-validation
카테고리
</>개발 도구
인증됨
최초 등록
2026-02-25
업데이트
2026-03-11

Browse more skills from dawiddutoit/custom-claude

빠른 답변

test-implement-constructor-validation이란?

서비스 클래스 서명에서 생성자 유효성 검사 테스트를 자동 생성합니다. 새로운 서비스에 대한 테스트를 생성하고, 빠른 실패 원칙을 검증할 때 사용합니다. 생성자 유효성 검사를 보장하거나 필수 매개변수를 테스트합니다. 분석 __init__ 메소드를 서비스하고 pytest.raises(ValueError) 테스트를 생성합니다. 각 필수 매개변수에 대해. 다음 Python 서비스 클래스와 함께 작동합니다. 의존성 주입 패턴 높은 자동화 기회(100개 이상의 테스트 클래스 이 패턴을 사용하세요). 출처: dawiddutoit/custom-claude.

test-implement-constructor-validation 설치 방법은?

터미널 또는 명령줄 도구(Terminal, iTerm, Windows Terminal 등)를 엽니다 이 명령어를 복사하여 실행합니다: npx skills add https://github.com/dawiddutoit/custom-claude --skill test-implement-constructor-validation 설치 후 스킬은 자동으로 AI 코딩 환경에 설정되어 Claude Code, Cursor, OpenClaw에서 사용할 수 있습니다

소스 저장소는 어디인가요?

https://github.com/dawiddutoit/custom-claude