Groovy Unit Testing Presentation
I gave a talk on Groovy Unit Testing to the Boulder JUG and the Denver JUG this week. The talk was well received, and I got some helpful comments that I will certainly incorporate into future version of the talk. The talk covered:
- How to use Groovy to author JUnit 4 test cases
- How to use closure and map coercion to mock dependencies
- How to use JMockit to mock classes with final or static methods
I tried something different this time. I used the Codex presentation tool put together by Dave Thomas and Chad Fowler to author the slides. It was a great fit since they are very code heavy. This also allowed me to version the talk and keep a copy of the source up on a github repository. The tool chain generates S5 presentations which can be run in a browser.
The slides themselves are posted on my web site. It certainly doesn't have the same impact as attending the presentation but there's a lot of material available and there are 2 sample NetBeans projects that illustrate the techniques that I presented on.