Mockito in Action
Abstract
I've been using mocks for years with a hope of writing better code, better tests. Thanks to mocks I was able to test-drive my classes easily by mocking out expensive dependencies. I was able to discover interfaces from my tests. But there was a gotcha. At some point I realized that my tests were brittle. Also, my tests were less readable than tests without mocks. Finally, my tests were less readable then tests with crude hand stubs. Therefore I reevaluated mocking and wrote spying framework called Mockito.
Intended audience are all java developers, regardless of novice or senior level.
Mockito in action session shows the best of fairly new java spying framework that is getting popular lately. Also, the presentation compares Mockito to existing mocking frameworks. After the session participants will violently rebel against mocking and burn in anger all the mocking manuals.
Speaker
Szczepan Faber enjoys living in Krakow, Poland, where he crafts software for Sabre. Previously he's been with Thoughtworks in London, but the company decided not to move to Krakow with him. Occasionally, he speaks at conferences (Agile'08, JDD'08) but lately he just wastes time on playing Football Manger.
About mocking. Mocking frameworks are one of many things Szczepan does not understand in IT. So he wrote Mockito, a spying framework which suppose to bring simplicity and common sense to testing complex java applications.
Szczepan's blog lives here: http://monkeyisland.pl
His favorite toy lurks there: http://mockito.org