Silicon Valley Code Camp : October 6th and 7th, 2012
Computer language enthusiast from Linz, Austria. Having used Java since 1997, I nowadays prefer more flexible languages. In particular, I'm interested in Groovy, Scala, and Clojure. I'm the creator of the Spock testing framework and an occasional Groovy committer. In my day job, I'm a Principal Software Engineer with Gradleware, working on the Gradle build automation tool.
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.
This 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.