·131-java-testing-unit-testing
</>

131-java-testing-unit-testing

JUnit 4에서 JUnit 5로 마이그레이션, 유창한 어설션을 위해 AssertJ 채택, Give-When-Then으로 테스트 구조화, 테스트 독립성 보장, 매개변수화된 테스트 적용, Mockito로 종속성 모의, 경계 조건 확인(RIGHT-BICEP, CORRECT, A-TRIP), JSpecify null 안전성 주석 활용 또는 다음과 같은 안티 패턴 테스트 제거를 포함하여 Java 단위 테스트를 검토, 개선 또는 작성해야 할 때 사용합니다. 반사 기반 테스트 또는 공유된 변경 가능 상태. Skills-for-Java 프로젝트의 일부

12설치·2트렌드·@jabrena

설치

$npx skills add https://github.com/jabrena/cursor-rules-java --skill 131-java-testing-unit-testing

131-java-testing-unit-testing 설치 방법

명령줄에서 131-java-testing-unit-testing AI 스킬을 개발 환경에 빠르게 설치

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

출처: jabrena/cursor-rules-java.

Review and improve Java unit tests using modern JUnit 5, AssertJ, and Mockito best practices.

Prerequisites: Run ./mvnw compile or mvn compile before applying any change. If compilation fails, stop immediately and do not proceed — compilation failure is a blocking condition.

Core areas: JUnit 5 annotations (@Test, @BeforeEach, @AfterEach, @DisplayName, @Nested, @ParameterizedTest), AssertJ fluent assertions (assertThat, assertThatThrownBy), Given-When-Then test structure, descriptive test naming, single-responsibility tests, test independence and isolated state, parameterized tests with @ValueSource/@CsvSource/@MethodSource, Mockito dependency mocking (@Mock, @InjectMocks, MockitoExte...

JUnit 4에서 JUnit 5로 마이그레이션, 유창한 어설션을 위해 AssertJ 채택, Give-When-Then으로 테스트 구조화, 테스트 독립성 보장, 매개변수화된 테스트 적용, Mockito로 종속성 모의, 경계 조건 확인(RIGHT-BICEP, CORRECT, A-TRIP), JSpecify null 안전성 주석 활용 또는 다음과 같은 안티 패턴 테스트 제거를 포함하여 Java 단위 테스트를 검토, 개선 또는 작성해야 할 때 사용합니다. 반사 기반 테스트 또는 공유된 변경 가능 상태. Skills-for-Java 프로젝트의 일부 출처: jabrena/cursor-rules-java.

인용 가능한 정보

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

설치 명령어
npx skills add https://github.com/jabrena/cursor-rules-java --skill 131-java-testing-unit-testing
카테고리
</>개발 도구
인증됨
최초 등록
2026-03-10
업데이트
2026-03-10

Browse more skills from jabrena/cursor-rules-java

빠른 답변

131-java-testing-unit-testing이란?

JUnit 4에서 JUnit 5로 마이그레이션, 유창한 어설션을 위해 AssertJ 채택, Give-When-Then으로 테스트 구조화, 테스트 독립성 보장, 매개변수화된 테스트 적용, Mockito로 종속성 모의, 경계 조건 확인(RIGHT-BICEP, CORRECT, A-TRIP), JSpecify null 안전성 주석 활용 또는 다음과 같은 안티 패턴 테스트 제거를 포함하여 Java 단위 테스트를 검토, 개선 또는 작성해야 할 때 사용합니다. 반사 기반 테스트 또는 공유된 변경 가능 상태. Skills-for-Java 프로젝트의 일부 출처: jabrena/cursor-rules-java.

131-java-testing-unit-testing 설치 방법은?

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

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

https://github.com/jabrena/cursor-rules-java