9:45 AM Saturday Room: 4202Spock 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.
1:45 PM Saturday Room: 4223This presentation introduces the audience to the power of Gradle through many real-world examples that are demonstrated live. By the end of the presentation, you’ll understand how Gradle helps to elegantly solve the challenges that we face in our daily enterprise builds.
We’ll go through such powerful concepts as: advantages of declarative over imperative build systems, convention over configuration without rigidity, task definitions and dependencies, the benefits of plugins, deep multi-project support, runtime optimizations through partial builds and harvesting existing functionality through Ant and Maven integration as well as strategies for migrating from these build tools. We will demonstrate some of the innovative goodies that come with Gradle out-of-the-box, like smart incremental builds, the Gradle Daemon and the Gradle Wrapper. We show also many of the new features like Eclipse integration, Sonar integration, Heroku integration, C/C++ support and other new plugins.