[LR] Refactoring MovieRental #2 – A Covering Test Suite 1 | Let’s Develop


A good test suite is essential for safe refactoring. It is the only way to ensure that your modifications don’t break your code. Therefore, I start my refactoring by writing a test suite for Martin Fowler’s example program. I use EclEmma to check the coverage of the tests and to see what further tests I need to write.

► All Refactoring Episodes: http://goo.gl/f7Yf21
► Let’s Develop! http://letsdeveloper.com
► Don’t Miss an Episode: http://goo.gl/whzDi1
► Check out the Code: https://github.com/letsdeveloper/Lets-Refactor-MovieRental

«Refactoring»
“A change made to the internal structure of software to make it easier to understand and cheaper to modify without changing its observable behavior”, http://martinfowler.com/books/refactoring.html

«Other Series»
► Let’s Develop Conway’s Game of Life: http://goo.gl/xc59GX
► Let’s Develop With Git in Eclipse: http://goo.gl/phqnDe
► Let’s Develop With Maven in Eclipse: http://goo.gl/3KK2gb


Share this: Facebooktwittergoogle_plusredditpinterestlinkedinmail | Follow me: twittergoogle_plusyoutube