Home > Articles > Programming > .NET and Windows Programming

What Programmers Have to Know About Testing

  • PrintPrint
  • Share ThisShare This
  • DiscussDiscuss
Janet Gregory, coauthor of Agile Testing: A Practical Guide for Testers and Agile Teams, offers some good advice to developers: Even when you know that a dedicated test team will be testing your software, there are some things that your programming team shouldn't leave for the testers to find.

Programmers as Testers

I consider myself lucky: I started out as a developer who learned the testing process. Back in my first days of programming, we didn't have "testers" on our team. Programmers were expected to test their own code, and they were held accountable for fixing software defects that they introduced, as well as any schedule delays that resulted from lack of testing. When I started my first job after my university graduation, my supervisor walked through my testing strategy with me on every new piece of functionality, and then again when it was time to look at the test results. He asked questions, and he made me go back and do more testing until he was confident that I knew what testing was all about. I guess he was responsible for my coming to understand the importance of testing my own work. (Thanks, Rob!)

This was back in 1992, in the days of COBOL. We had no concept of automated unit tests, so all our testing was done manually. I can only imagine how stable my code would have been if I could have automated all those tests! We were coding for a stock exchange and clearing system, so our code had to be pretty solid; a lot of financial transactions would pass through our software. We didn't have actual customers doing testing, but the company's support and implementation team performed the acceptance testing on their behalf.

Because I was trained to be accountable for my code, it was easy for me to turn my attention to testing, and I learned from experience that you cannot "test in" quality. Not every programmer today has that luxury.

  • Share ThisShare This
  • Save To Your Account

Discussions

comments powered by Disqus

Related Resources

#TuesdayTrivia: Spotlight on WP7 (Win a copy of Sams Teach Yourself Windows Phone 7 Application Development)
By on May 2, 2012Comments
These days, what CAN'T a smartphone do? Microsoft is putting their own spin on things to help you experience "life in motion" when using your device. Instead of containing static application icons, the re-imagined Start screen features live Tiles showing real-time content updates.

March Trivia #1: Let there be light! (Win Microsoft Visual Studio LightSwitch Unleashed)
By on March 13, 2012Comments
Want a simplified self-service tool to help you build business applications for the desktop and beyond? Microsoft programmers… meet Visual Studio LightSwitch.

February Trivia #2: There's an App for That (Win Sams Teach Yourself iOS 5 Application Development in 24 Hours)
By on February 28, 2012Comments
In less than a decade, the iOS platform has changed the way we think about mobile communication.

See All Related Blogs