Smarter Testing With Spock
Spock is a developer testing framework for Java and Groovy applications. Even though it is fully JUnit-compatible on the outside, Spock isn't just another JUnit clone - its goal is to take developer testing to the next level! With its Groovy-powered and highly expressive testing language, Spock boosts productivity and brings back the fun to testing. In the first part of this session, Spock's approach to state-based, data-driven, and behavior-based testing will be demonstrated. Next, we will explore some of Spock's extensions, such as the Grails plugin and the Spring TestContext Framework integration. Finally, we will look under the covers of Spock and top it off by writing our own extension. Along the way, expect to see lots of code and live demos.
- Not Interested