Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thecodesmith/spock-talk
Demo Code for Intro Spock Presentation
https://github.com/thecodesmith/spock-talk
Last synced: 23 days ago
JSON representation
Demo Code for Intro Spock Presentation
- Host: GitHub
- URL: https://github.com/thecodesmith/spock-talk
- Owner: thecodesmith
- Created: 2014-11-15T01:37:23.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2015-07-09T05:22:34.000Z (over 9 years ago)
- Last Synced: 2024-11-01T20:52:11.804Z (about 2 months ago)
- Language: JavaScript
- Size: 754 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spock Talk
_An Introduction to Testing Using Groovy and Spock_
This presentation was originally given at Chippewa Valley Code Camp 2014. Sample code from the talk can be found in this repository. Check out the presentation slides here: [thecodesmith.github.io/spock-talk](http://thecodesmith.github.io/spock-talk).
[chippewavalleycodecamp.com](http://chippewavalleycodecamp.com)
## Summary
Geared toward Java developers, this talk presents an approach to unit testing that is highly expressive, elegant and clean. The Spock framework builds on the classic unit testing power of JUnit and leverages the dynamic power of the Groovy language. Because Groovy and Spock run on the JVM, they integrate seamlessly to test code written in Java and other JVM languages.
This presentation will feature a quick intro to the power of Groovy, give a high-level overview of the Spock framework, then dive into the nuts and bolts of writing tests with Spock. This will incorporate both static examples and live coding, with plenty of opportunities for questions.
Want to strengthen your testing skills? Want to have fun writing good tests? Spock and Groovy offer all the power you need, without the pain.
## Topics
* State-based Testing
* Data-driven Testing
* Interaction-based Testing## Resources
* Presentation slides: http://thecodesmith.github.io/spock-talk
* Spock documentation: http://docs.spockframework.org
* mrhaki's Spocklight Notebook: [mrhaki.blogspot.com](http://mrhaki.blogspot.com/2014/10/spocklight-notebook-is-published.html)
* Spock: A Logical Framework for Enterprise Testing (by Ken Kousen): http://youtu.be/i28F13zZwlg
* Idiomatic Spock (by Rob Fletcher): http://youtu.be/dvDoieRf4po