사용자 도구

사이트 도구


gradle:testfixtures

차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
gradle:testfixtures [2022/04/14 15:02]
kwon37xi
gradle:testfixtures [2022/04/15 09:57] (현재)
kwon37xi [상위 모듈 설정]
줄 7: 줄 7:
   * 설정 후 ''module/src/testFixtures/{java/resources}'' 소스 루트에 테스트 픽스처 소스 코드나 리소스를 둔다.   * 설정 후 ''module/src/testFixtures/{java/resources}'' 소스 루트에 테스트 픽스처 소스 코드나 리소스를 둔다.
 <code groovy> <code groovy>
-// 전역 설정 
 plugins { plugins {
     // which produces test fixtures     // which produces test fixtures
줄 17: 줄 16:
     testImplementation 'junit:junit:4.13'     testImplementation 'junit:junit:4.13'
  
 +    // testFixtures 에 어떤 의존성이 필요할 경우 추가
     // API dependencies are visible to consumers when building     // API dependencies are visible to consumers when building
     testFixturesApi 'org.apache.commons:commons-lang3:3.9'     testFixturesApi 'org.apache.commons:commons-lang3:3.9'
- 
     // Implementation dependencies are not leaked to consumers when building     // Implementation dependencies are not leaked to consumers when building
     testFixturesImplementation 'org.apache.commons:commons-text:1.6'     testFixturesImplementation 'org.apache.commons:commons-text:1.6'
gradle/testfixtures.1649916159.txt.gz · 마지막으로 수정됨: 2022/04/14 15:02 저자 kwon37xi