Seven habits and unit testing
Some of the exercises covered in the previous post covered the aspect of analysing the end goal. Now, I’m sure that what we covered was no where near the available exercises. But doing several exercises servers a purpose, even if you already know your goal in life.
Each exercise allows to examine the goals from different angles. If you identify different goals using different angles, then perhaps you haven’t found the right goals, or just more of them. Either how they can increase your confidence in the goals you identify.
Now confidence is what we achieve with unit testing as well. In an way, we can see unit tests as a way to examine the code under test from a different angle. Different compared to the code that will execute the code under test.
Just a thought.