Like many developers who make the journey from Java to Scala, I often find myself amazed at how much easier it is to do some things, or how much easier it is to express myself in Scala. “ScaLearning” will be a series of short blog-posts just documenting little tidbits I find interesting, confusing, amusing, or … Read more
Recently I posted about Test Flow and Method Contracts. The key takeaway was that we can use tests to prove the contracts our system lives up to. We all create a logical representation of our software in our minds in order to reason about it. Tests (either manual, or automatic) allow us to prove the … Read more
Today’s (long overdue) blog entry is inspired by a recent twitter discussion I’ve been following. Uncle Bob (aka Robert Martin) made the bold statement that 100% test coverage should simply be a matter of conscience. Now, I’m not going to delve into my thoughts on the discussion. However, I find it distressing that … Read more
One of the primary problems with testing, TDD, and Unit Tests is a lack of understanding. Like all practices, we have to know why what we are doing is good before we can reap the full benefits.