Johnny Graber's Reviews > Working Effectively with Unit Tests

Working Effectively with Unit Tests by Jay Fields
Rate this book
Clear rating

by
U 50x66
's review

it was amazing

Jay Fields uses in Working Effectively with Unit Tests a different approach than most authors that write about TDD: How does test-driven development creates value? As a measurement to judge the different approaches he uses ROI (return on investment) and explains the different side-effects certain styles of tests have. This (at least for me) new way to look at TDD is refreshing and helps to stay away from code bases that are impossible to change after an endless amount of tests are written that no longer justify the cost of maintaining them.

Be aware that the first examples he shows are only intermediary steps to a good solution. The first reaction after the initial refactoring may be “oh no!”. But those examples are only there to explain the problems and when you keep reading the code gets better and better. Maintaining a big code base with lots of tests is hard work. Applying a metric like ROI to challenge all tests and cutting them back on a regular basis is a good advice that will make your life simpler. When you do TDD you definitely should read this book. And when not this book may be give you a reason and a tactic to start writing more and better tests.
flag

Sign into Goodreads to see if any of your friends have read Working Effectively with Unit Tests.
Sign In »

Reading Progress

January 17, 2015 – Started Reading
January 17, 2015 – Shelved
January 19, 2015 – Finished Reading

No comments have been added yet.