Groovy DSL & Testing with Spock
Print ticket Export Share
Wednesday, October 17, 2012
GigaSpaces Technologies Ltd.
4 Maskit St., Herzliya (map)
the meetup host - GigaSpaces
Groovy DSL - BaraK Merimovich
In this session, BaraK Merimovich of GigaSpaces will discuss the notion of DSLs (domain specific languages), why they're needed and why Groovy makes a good fit for implementing them, based on his experience from building a Groovy DSL for Cloudify (GigaSpaces Groovy based open source tool for on boarding and managing application on any cloud).
Testing with Spock - Baruch Sadogursky
We are going to talk about a testing and specification framework for Java and Groovy applications. It's name is Spock and it is written in Groovy, what else can you ask for? But even if you won't ask, it features very fluent and easy to learn specification DSL (no asserts!) integrates everywhere where JUnit integrates, easily extendable and supports any testing methodology (being it test-first, test-last, unit or integration testing or new one that you just invented).
In our session we will show how to write specifications, assertion conditions, data-driven tests and a simple extension. We will also show what geb is (hint - look at the user group name) and how to use it with spock.
For those who won't be able to make it to our Groovy/Grails meetup tonight - you can watch it streamed live here: http://www.cloudifysource.org/2012/10/17/groovy_dsl_and_testing_with_spock.html