Because my weekend project becomes more and more of a solid product, that people actually use, I need to 'focus on quality'. And start doing things the right way.
This means - no more hacking things together, just because it is fun to see things work. It means more time spent on boring code, like unit tests. It also means more comments, better structure, and overall nicer looking code.
This just happens to be in line with my goal to make the source code available online, when I feel like it is ready to be shown in public places.
To help me achieve my goal of clean, good code, that I will not be ashamed of, I spent some time today configuring my environment:
- I configured Eclipse to warn me about missing comments. For now I left the checkboxes to ignore overriding and implementing methods checked, but I plan on unchecking those in the future.
- I installed the Code Metrics Plugin http://metrics.sourceforge.net/update
- I installed the Code Coverage Plugin from http://update.eclemma.org/. I started adding unit tests for my app a few weeks ago, and I added some more tonight.
- I use the monkey extensively, in addition to manual testing
- Finally, I use my app every day. And, unfortunately, still find defects this way.
No comments:
Post a Comment