On Tue, Apr 15, 2008 at 10:16 PM, praveen kumar <[EMAIL PROTECTED]> wrote:

>   Iam a newbie
>   jsut joined in a software company
>   please can any one explain me what is unit testing and what are unit test 
> cases?
>   please explain with sample code in C or C++

Unit testing involves testing every bit of functionality of a program
(or maybe just a feature for larger application). There are several
different methodologies for this. A unit test case is the scenario for
testing one piece of functionality. I would hope the company you just
joined has processes in place for the unit testing phase of software
development. Note unit testing is typically performed before software
moves on to a QA/QC department for full regression/sanity/system
testing. In my company, at least, unit testing is the responsibility
of the developer to ensure all functional requirements have been met
in the code. If system test finds a bug that should have been found
and fixed in unit testing, the developer for that code has some
explaining to do. :-)

Have you tried searching online for this information? There's a lot
more to be learned that what can be expressed in an email.

-- Brett
------------------------------------------------------------
"In the rhythm of music a secret is hidden;
 If I were to divulge it, it would overturn the world."
 -- Jelaleddin Rumi

Reply via email to