--- kind: CASE slug: messaging-testkit-f07 title: 항등식을 단언하는 테스트가 하나 있다 topic: verification-path-coverage project: clean-architecture-backend-template status: 게시 전 sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 rootTreeNode: case:messaging-testkit-f07 evidenceCapturedOn: 2026-09-01 assets: - key: messaging-testkit-f07 file: ../../../final/evidence/rendered/messaging-testkit-f07.svg evidence: - ../../../final/evidence/raw/messaging-testkit-f07.txt source: - 원본 분석 절은 analysis/messaging/messaging-testkit.md#L980 이다. module: messaging-testkit priority: P3 --- # 항등식을 단언하는 테스트가 하나 있다 CompatibilityMatrixTest.aCertificationClaimCannotBeMadeWithoutEvidence(:48-60)의 좌변과 우변이 같은 식이다(§12.3(c)). 이름이 약속하는 것을 검사하지 않는다. ## 문제 CompatibilityMatrixTest.aCertificationClaimCannotBeMadeWithoutEvidence(:48-60)의 좌변과 우변이 같은 식이다(§12.3(c)). 이름이 약속하는 것을 검사하지 않는다. ## 결론 실질 검사는 같은 파일의 다른 두 테스트가 하고 있으므로 커버리지 손실은 없다. 이 테스트를 지우거나, "증거를 비우면 Stable 주장이 무너진다" 를 실제로 검사하도록 바꾼다 — 후자가 이름에 맞는다. ## 검증 환경 OpenJDK : 21.0.12 java -version 으로 확인 Gradle : 9.0.0 src/gradle/wrapper/gradle-wrapper.properties 의 distributionUrl 로 확인 확인 방식 : CompatibilityMatrixTest 참조 검색과 해당 단언의 좌변·우변 식 대조 소스 수정 : x ## 재현 조건 원문은 analysis/messaging/messaging-testkit.md#L980 에 있다. ## 본문 `CompatibilityMatrixTest.aCertificationClaimCannotBeMadeWithoutEvidence`(`:48-60`)의 좌변과 우변이 같은 식이다(§12.3(c)). 이름이 약속하는 것을 검사하지 않는다. ## CompatibilityMatrixTest 참조 위치 :::evidence key="messaging-testkit-f07" alt="코드베이스에서 CompatibilityMatrixTest 를 검색한 출력 1줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="CompatibilityMatrixTest 코드베이스 검색 — 1줄 · exit 0" zoom="true" ::: ## 커버리지 손실은 없다 실질 검사는 같은 파일의 다른 두 테스트가 하고 있다. 이 테스트를 지우거나, "증거를 비우면 Stable 주장이 무너진다" 를 실제로 검사하도록 바꾼다 — 후자가 이름에 맞는다. ## 확인하지 못한 것 테스트를 실행하지 않았다. 좌변과 우변이 같은 식이라는 것을 본문으로 판정했다.