TIB = Today I Babble
일단 groovy 스크립트는 매우 생소하다. 자바같이 생겼는데.. 조금 다른것 같기도하고.
spock 은 where 절 쪽 빼면 사실 간결한걸 잘 모르겠다. 내가 아마 이제 막 사용하기 시작해서 그러는 것 같다.
흠
일단 문제에 봉착한것은 이것: groovy script 에서 kotlin test class 를 사용하기.
생각보다 설정이 복잡? 한것같다. 자꾸 unable to resolve class 라고 한다. 뭐가 잘못되었는지 모르겠따.
compileTestGroovy 할때 kotlin test class 경로도 잘 잡아줬는데.. 무엇이 문제일지 감도 안온다.
일단 도움은 해당 stackoverflow 포스트에서 받았는데. 해결은 뭐 안되었다.
https://stackoverflow.com/questions/42200880/groovy-is-unable-to-resolve-kotlin-classes
groovy is unable to resolve kotlin classes
As I was not able to resolve the issue I have with kotlin, I decided to return to groovy in order to implement the plugin. However I ran into the issue. I have such project structure. In order no...
stackoverflow.com
이거 해결안되면 뭐...parameterized test 로 짜야지 뭐...아깝다
'devlog > TIL' 카테고리의 다른 글
[TIL] jooq 잘 모르겠다 🤔 (0) | 2020.02.14 |
---|---|
[TIL] Feign 404 (0) | 2020.02.14 |
[TIL] ExecutorService / Event Driven Programming / Bulk Insert / DiscriminatorValue / AuditingEntityListener (0) | 2019.11.20 |
It is currently in use by another Gradle instance (0) | 2019.11.13 |
brew로 openjdk 설치하는 방법 (0) | 2019.09.29 |