During our last Tuesday study group, I formed this observation:
Good test code means good application code. The converse is not necessarily true. You can still write bad tests but with each well written test the application gets incrementally better.
This observation is powerful for me because it shows that testing is a key path to writing good application code.
As a developer, I’m expected to know some design patterns and development philosophy to write good code. Since school, I studied how to write application code and not very much in terms of testing. But, with this observation, I realized I’ve missed an important area in the field of programming. Now, I would like to learn how to design and write better tests.