Trust Me, You're Not Going to Write All Your Tests at the End of the Project
Don't wait until the end of a project to write tests. It doesn't work.
Writing tests is never urgent, but it is very important. Devotees of Stephen Covey will tell you this puts it smack in the middle of quadrant two: things that are important but not urgent.
Quadrant one, urgent and important things, prevent any other work from being done. Unfortunately, the final stages of any project are chock full of urgent and important things, like fixing bugs, building deployment packages, scheduling rollouts, and other fun. All these are important and urgent. If you haven't written automated tests at this point, don't start.
No manager will ever tell you, "Sure, we'll delay the launch by a week so you can write some code that won't ever be executed in production and has no bearing on the project making it out of QA".
So, if automated testing lives in quadrant two (it does), and that no real quadrant two work is possible at the end of a project (it isn't), you need to write your tests early, when quadrant two is in full effect, at the beginning of the project.
I'm not saying you need to do test driven development. That's hard. All I'm saying is that it's important that tests keep pace with code. Get in the habit of running coverage tools when you finish modules, and write tests before moving on.
If you do find yourself at the end of the project with no tests, don't panic. You're not a bad person. You're not a bad programmer. You just didn't write tests. Don't try to write them all at the end. You'll only get frustrated and stressed out.
Finish the project, fix any last-minute bugs, and deploy. After that you'll be back into quadrant two, and you can write all the tests you missed the first time around.

Great post! I hadn't been subscribing to your blog before I saw this.
Would the man-hours spent on staffing a QA department be sufficient time to hire developers to write automated tests?
Matt, thanks for the encouragement!
As for your question, I think that hiring developers to ONLY write tests is a luxury for most shops. It would be awesome to have a small army of programmers focusing solely on exercising the system, but it's a hard sell.
On the other hand, I'm convinced that testing doesn't need to add time to projects, and that with practice and some good decisions, we can deliver well tested code in the same time as untested code.
Very nice site!
cheap viagra
Very nice site!
[LINK http://training.cvc4.org/pharm1/14173/3.html]cheap tramadol[/LINK]
Very nice site!
http://training.cvc4.org/pharm1/14173/4.html
Very nice site!
arguements against gambling [url=http://www.planetphotoshop.com/forum/member.php?u=7743]online gambling[/url] labor day ohio poker run
Your Web Site is really wonderful and I bookmarked it. Thank your for the hard work you must have put in to create this wonderful facility. Keep up the excellent work!
Hello, my name is Jessica, I like yours blog, gut photo,
i with pleasure shall support a theme.
Buy wireless phone, buying mobile phone, camera cellphone info, buy cell phone,
buy cellular phone, buy mobile phone, buy camera-phone, buy cameraphone ...
[url=http://bcellularphone.50webs.com] Buy cellular phone [/url]
Hello, my name is Kelly, I like yours site, gut photo,
i with pleasure shall support a theme.
Hi, I think that you is overdid. To look to bredshika, please.
http://medspills.110mb.com ">glucophage and weight lose
Very nice site!
cheap viagra
Very nice site!
http://training.cvc4.org/pharm1/14189/4.html
Very nice site!
Perfect work!
viagra
If you have to do it, you might as well do it right
viagra
Great site. Good info
viagra
Great work,webmaster,nice design!
buy viagra
Very nice site!
cheap viagra
Very nice site!
[LINK http://training.cvc4.org/pharm1/14190/3.html]cheap tramadol[/LINK]
Very nice site!
http://training.cvc4.org/pharm1/14190/4.html
Very nice site!
If you have to do it, you might as well do it right
viagra
I want to say - thank you for this!
viagra
Beautiful site!
viagra
Great site. Good info
buy viagra
Perfect work!
buy viagra
If you have to do it, you might as well do it right
cheap viagra
I bookmarked this guestbook. Thank you for good job!
viagra
Great site. Keep doing.
buy viagra
I want to say - thank you for this!
cheap viagra
It is the coolest site,keep so!
buy viagra
Excellent site. It was pleasant to me.
buy viagra
I want to say - thank you for this!
viagra
Perfect work!
buy viagra
Great work,webmaster,nice design!
viagra
Great site. Good info
viagra
Nice site! Thank you!
cheap viagra
Great site. Keep doing.
viagra
Very interesting site. Hope it will always be alive!
viagra
It is the coolest site,keep so!
viagra
Great .Now i can say thank you!
viagra
Nice site! Thank you!
buy viagra
Nice site! Thank you!
viagra
Great site. Good info
cheap viagra
Perfect site, i like it!
viagra
Great site. Good info
cheap viagra
If you have to do it, you might as well do it right
cheap viagra
It is the coolest site,keep so!
buy viagra
Great work,webmaster,nice design!
cheap viagra
I want to say - thank you for this!
cheap viagra
Excellent site. It was pleasant to me.
cheap viagra
Great .Now i can say thank you!
cheap viagra
Great site. Good info
buy viagra
Perfect work!
cheap viagra
If you have to do it, you might as well do it right
viagra
Great work,webmaster,nice design!
buy viagra
I want to say - thank you for this!
cheap viagra
Great site. Keep doing.
viagra
It is the coolest site,keep so!
viagra
Great site. Keep doing.
viagra
Nice site! Thank you!
viagra
Very interesting site. Hope it will always be alive!
viagra
I want to say - thank you for this!
viagra
Incredible site!
cheap viagra
Great work,webmaster,nice design!
buy viagra
Excellent site. It was pleasant to me.
viagra
If you have to do it, you might as well do it right
cheap viagra
If you have to do it, you might as well do it right
viagra
Incredible site!
buy viagra
It is the coolest site,keep so!
viagra
Perfect site, i like it!
viagra
Incredible site!
viagra
Perfect work!
buy viagra
Excellent site. It was pleasant to me.
buy viagra
Excellent site. It was pleasant to me.
cheap viagra
Great site. Good info
cheap viagra
If you have to do it, you might as well do it right
viagra
Perfect work!
viagra
Very nice site!
cheap viagra
Very nice site!
[LINK http://training.cvc4.org/pharm1/14193/3.html]cheap tramadol[/LINK]
Very nice site!
http://training.cvc4.org/pharm1/14193/4.html
Very nice site!
I bookmarked this guestbook. Thank you for good job!
buy viagra
Perfect site, i like it!
viagra
Great site. Good info
cheap viagra
Great work,webmaster,nice design!
viagra
If you have to do it, you might as well do it right
viagra
Very interesting site. Hope it will always be alive!
cheap viagra
Great site. Keep doing.
buy viagra
Perfect site, i like it!
cheap viagra
It is the coolest site,keep so!
cheap viagra
It is the coolest site,keep so!
viagra
I want to say - thank you for this!
viagra
I want to say - thank you for this!
viagra
Beautiful site!
viagra
It is the coolest site,keep so!
cheap viagra
Nice site! Thank you!
cheap viagra
I bookmarked this guestbook. Thank you for good job!
buy viagra
Great .Now i can say thank you!
viagra
Great site. Keep doing.
buy viagra
DAESH ONOTOLE V PRAVITELI VSELENNOI!
Great site. Keep doing.
viagra
It is the coolest site,keep so!
viagra
It is the coolest site,keep so!
buy viagra
Great site. Good info
cheap viagra
Excellent site. It was pleasant to me.
viagra
Perfect work!
viagra
If you have to do it, you might as well do it right
cheap viagra
Great .Now i can say thank you!
viagra
Nice site, thanks for information!
Very interesting site. Hope it will always be alive!
cheap viagra
Great work,webmaster,nice design!
cheap viagra
Great site. Good info
buy viagra
Great work,webmaster,nice design!
buy viagra
Perfect site, i like it!
viagra
Nice site! Thank you!
cheap viagra
Great .Now i can say thank you!
viagra
It is the coolest site,keep so!
buy viagra
I bookmarked this guestbook. Thank you for good job!
viagra
Perfect work!
buy viagra
Perfect work!
viagra
Nice site! Thank you!
buy viagra
Not bad... Not bad.
Great .Now i can say thank you!
buy viagra
I bookmarked this guestbook. Thank you for good job!
viagra
Beautiful site!
viagra
Great .Now i can say thank you!
cheap viagra
Nice site! Thank you!
viagra
Very interesting site. Hope it will always be alive!
viagra
Great .Now i can say thank you!
viagra
Very interesting site. Hope it will always be alive!
cheap viagra
Excellent site. It was pleasant to me.
buy viagra
Nice site! Thank you!
cheap viagra
Great work,webmaster,nice design!
viagra
If you have to do it, you might as well do it right
cheap viagra
Great site. Good info
viagra
Great work,webmaster,nice design!
viagra
If you have to do it, you might as well do it right
buy viagra
Great site. Good info
cheap viagra
Great site. Good info
cheap viagra
Beautiful site!
buy viagra
If you have to do it, you might as well do it right
cheap viagra
Great site. Good info
viagra
Great site. Good info
buy viagra
It is the coolest site,keep so!
cheap viagra
Perfect work!
viagra
Perfect site, i like it!
viagra
If you have to do it, you might as well do it right
viagra
Perfect work!
viagra
Perfect work!
cheap viagra
Great site. Good info
buy viagra
Excellent site. It was pleasant to me.
cheap viagra
Incredible site!
viagra
If you have to do it, you might as well do it right
cheap viagra
Nice site! Thank you!
viagra
I want to say - thank you for this!
viagra
I bookmarked this guestbook. Thank you for good job!
viagra
If you have to do it, you might as well do it right
viagra
Perfect work!
cheap viagra
Great .Now i can say thank you!
viagra
Great site. Good info
viagra
Nice site! Thank you!
viagra
Great site. Good info
buy viagra
Beautiful site!
viagra
Perfect work!
buy viagra
Excellent site. It was pleasant to me.
cheap viagra
Beautiful site!
viagra
Perfect work!
viagra
Perfect site, i like it!
viagra
If you have to do it, you might as well do it right
buy viagra
Great site. Keep doing.
viagra
It is the coolest site,keep so!
viagra
Beautiful site!
viagra
Perfect site, i like it!
viagra
Great site. Keep doing.
buy viagra
If you have to do it, you might as well do it right
viagra
Perfect work!
buy viagra
I want to say - thank you for this!
buy viagra
Great .Now i can say thank you!
viagra
Great site. Good info
viagra
Nice site! Thank you!
cheap viagra
Great site. Good info
buy viagra
Great work,webmaster,nice design!
cheap viagra
Great site. Good info
buy viagra
Perfect site, i like it!
buy viagra
Very interesting site. Hope it will always be alive!
buy viagra