반응형
spock
-
Spock Framework 의 Stub, Mock, Spy 를 간단하게 알아 보자.JAVA 2020. 10. 15. 09:00
Java 는 현재 Class 와 Interface 를 Mocking 하기 위한 다양한 Library 와 Framework 를 가지고 있습니다. Spock 역시 그러한 Framework 중 하나 입니다. 이 문서에서는 Spock 의 다양한 기능 중 Stub, Mock, Spy 에 대해 얇게 알아 보겠습니다. Spock is a testing and specification framework for Java and Groovy applications. What makes it stand out from the crowd is its beautiful and highly expressive specification language. Thanks to its JUnit runner, Spock is compat..