Silicon Valley Code Camp : October 8th and 9th, 2011.session
Unit testing Legacy code
About This Session
I have heard enough from people maintaining legacy that Unit testing cannot be done. With the Mocking frameworks, I will be interested to show that there is no real case where unit testing cannot be done. (Focused around Java, Junit, eclipse, Mocking with EasyMock/Mockito, PowerMock)
Here is the class format:
* 5 min introduction to testing with JUnit.
* Mock testing overview
* Easy Mock/Mockito/Power Mock comparison.
* Testing methods for legacy code patterns.
* Some examples
* Bring your legacy examples (15 minutes)