Writing beautiful tests (from Beautiful Code)

Alberto Savoia’s contribution to the O’Reilly-published Beautiful Code is about writing beautiful tests. The chapter is available online and features a walk-through of testing a binary search implementation in Java.

This might be a good TDD exercise – test drive the implementation and then compare notes/tests with Alberto’s article.

Comments