As a software engineer, I spend around 80% of my "coding time" testing what I wrote. Even pro coders can't just type code and expect it to work (a rare moment of zen when programming occurs when something, usually a small change, works on the first try). Coding is an iterative process; even if you have a Quality Assurance (QA) team, engineers will always spend time testing before handing it off to them.