TesT-driven developmenT for EmbEDDED C:
TesT-driven developmenT helps you improve schedule predicTabiliTy and producT qualiTy by eliminaTing bugs before They make The bug lisT.
26 EDN EUROPE | JUNE 2012
by James W grenning • renaissance sofTWare consulTing
ou all write code and then toil to make it work. You build it, and then you fix it. Testing is an afterthought—something you do after you write the code. You spend about half your time in the unpredictable activity of debugging. Debugging shows up on your schedule under the guise of test and integration. It is a source of risk and uncertainty. Fixing one bug might lead to another and, sometimes, to a cascade of other bugs.
Table of Contents for the Digital Edition of EDNE June 2012