So for years, being the QA guy that I am, I constantly was questioning if developers were bothering to unit test or complaining that their unit tests were not robust enough. What would I do if the roles were reversed? Well, they are not reversed as there is no QA team checking my application but still I was / am wearing the developer hat at times these days.
Big confession time.... it is harder than it looks to get into a test as you go rhythm. Test Driven Development is still not something I can claim. Not what you expect from a QA-Test guy huh? Well there you have it, I have taken the first steps on the road to recovery. I am a recovering non-testing developer. Actually I am well past that in the 12 steps, you see I develop in Rails and by habitually runing rcove I am developing a new addiction to green bars. I find myself getting anxious when I see any red these days; even when I can rationalize why I shouldn't worry. So now I develop a little application code, check the coverage then grap the Visine by coding the tests required to “get the red out”. Next step, rspec and TDD...
But what does that tell me about my years of QA experience? Was I just being a hipocrite? Perhaps a little but back when I was developing full time professionally, in C and assembler, the tools were not nearly as sophisticated. What I am really learning is that good practices, need to be habits and how do we get habits? By practice. So develop your addiction to visine and “get the red out”. It is a great “habit” for developers.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment