You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@jayyhkwon
안녕하세요!
아래와 같이 코틀린 기본 생성 방법인 PrimaryConstructorArbitraryIntrospector.INSTANCE와 KotlinPropertyArbitraryIntrospector.INSTANCE를 섞어서 사용하시면 생성자에 포함하지 않은 필드도 초기화할 수 있습니다.
안녕하세요, 우선 좋은 라이브러리 제공해주셔서 감사드린다는 인사 먼저 드립니다 ( __ )
덕분에 테스트 작성 시 생산성이 많이 증가하였습니다!
다름이 아니라. Primary Contsturctor에 포함되지 않는 프로퍼티의 경우 항상 null로 초기화 됩니다.
PrimaryConstructorArbitraryIntrospector
에 의해 생성자에 존재하는 필드만 조작해서 그런걸로 추측되는데요.해당 클래스 뿐만 아니라, 글로벌하게 생성자에 포함되지 않는 필드도 초기화 할 수 있는 방법을 가이드 받을 수 있을까요??
The text was updated successfully, but these errors were encountered: