- Domain Entity 단위 테스트 (ParticipantUnitTest, DrawLogUnitTest) - Service 단위 테스트 (ParticipationServiceUnitTest, WinnerDrawServiceUnitTest) - 테스트코드표준 준용: Given-When-Then 패턴, BDD 스타일, Mockito 활용 - 총 29개 테스트 케이스 작성 및 검증 완료 (BUILD SUCCESSFUL) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
36 lines
799 B
YAML
36 lines
799 B
YAML
spring:
|
|
# JPA 설정
|
|
jpa:
|
|
hibernate:
|
|
ddl-auto: create-drop
|
|
show-sql: true
|
|
properties:
|
|
hibernate:
|
|
format_sql: true
|
|
dialect: org.hibernate.dialect.H2Dialect
|
|
|
|
# H2 인메모리 데이터베이스 설정
|
|
datasource:
|
|
url: jdbc:h2:mem:testdb
|
|
driver-class-name: org.h2.Driver
|
|
username: sa
|
|
password:
|
|
|
|
# Kafka 자동설정 비활성화 (통합 테스트에서는 불필요)
|
|
autoconfigure:
|
|
exclude:
|
|
- org.springframework.boot.autoconfigure.kafka.KafkaAutoConfiguration
|
|
|
|
# H2 콘솔 활성화 (디버깅용)
|
|
h2:
|
|
console:
|
|
enabled: true
|
|
path: /h2-console
|
|
|
|
# 로깅 레벨
|
|
logging:
|
|
level:
|
|
org.hibernate.SQL: DEBUG
|
|
org.hibernate.type.descriptor.sql.BasicBinder: TRACE
|
|
com.kt.event.participation: DEBUG
|