QUOTE(trixt.er @ 9 Sep, 2009 - 10:02 AM)

There is no defined ration that exists. Software Engineering is a very dynamic process and continually changes.
One of the principles they enforce at my work environment is a technique called TDD (Test Driven Development).
At the end of this month we are having a professional on TDD come to speak and teach us techniques to apply it.
http://en.wikipedia.org/wiki/Test-driven_developmentAnyone who programs knows that some bugs can be very difficult to detect. Have you ever experienced a segmentation fault
or null pointer exception?
So for your wiki link it's basically saying before I implement anything into my main project I should test exactly what I want to add first?
like if I wanted to add a loop that printed 100 peoples names I should do it in a separate test program before putting it into my main program. I mean things will be harder to test than others but this is the main idea right?
What about things that don't need to be tested and how do you decide how big something should be before you have to test it?
like that loop would be pointless to test since the only thing that could really go wrong is a syntax error how complex must something be before you decide you have to put it through tests is what I'm trying to say I guess
because I test a lot of things before I put it in but then I don't test a lot of things as well
sometimes I loose track of my main goal because I'm testing too much or what I was trying to accomplish was a lot harder than I thought and I get discouraged and move on to something else.