Unit testing represents breaking code into functional components, then writing test scripts that test the code. For example, if I wrote a function called ReverseString() I would then write a unit test that passes different strings into the function and compares the result to the expected result.
Unit testing has it's strengths, however, it takes time to develop the scripts and if the programmer that wrote the code, writes the scripts then he/she could miss things.
Also, unit testing works best for discrete functions (like reversing a string) where this is clearly defined entrance, exit point. The word 'Unit' is key to understanding what it's intent is. It's not 'System' testing. It is for units of code.
I generally use it for core code that will extensively reused.
There is no substitute for having a trained QA person design test scripts and ensure that systems work as designed.
Main Topics
Browse All Topics





by: PUNKYPosted on 2007-06-24 at 16:16:54ID: 19352634
Are you looking software such as Mercury LoadRunner?
om/cgi-bin /portal/do wnload/ ind ex.jsp
http://downloads.mercury.c