What is the objective of unit testing?

Posted by user728750 on Programmers See other posts from Programmers or by user728750
Published on 2011-06-16T13:54:44Z Indexed on 2012/03/21 17:38 UTC
Read the original article Hit count: 795

Filed under:

I've been working with C# for the last 2 years, and I've never done any unit testing. I just need to know what the objective of unit testing is. What kind of results do we expect from unit testing? Is code quality checked by unit testing? In my view, unit testing is the job of testers; if that is true, then as a developer why would I need to write test code if the tester does the unit testing? Why should I write extra code for testing? Do I need to maintain a separate copy of a project for unit testing?

© Programmers or respective owner

Related posts about .NET

Related posts about unit-testing