Unit Testing Phase

Will testers be involve in Unit Testing Phase? Explain.

Questions by kodandaram.aj

Showing Answers 1 - 12 of 12 Answers

Unit testing refers to tests that verify the functionality of a specific section of code, usually at the function level.

These type of tests are usually written and performed by developers as they work on code (white-box style), to ensure that the specific function is working as expected. One function might have multiple tests, to catch corner cases or other branches in the code. Unit testing alone cannot verify the functionality of a piece of software, but rather is used to assure that the building blocks the software uses work independently of each other.

Generally Testers are not included during this type of testing though the test cases used and its results are sometimes used by the Testers to design integration/ system test cases.

  Was this answer useful?  Yes

The most 'micro' scale of testing is known as Unit Testing.
Typically done by the programmer and not by testers  to test particular functions or code modules. , as it requires detailed knowledge of the internal

program design and code.

Not always easily done unless the application has a welldesigned

architecture with tight code; may require developing test driver modules or

test harnesses.

The test harness provides a number of known inputs and measures the outputs of the unit under test, which are then compared with expected values to determine if any issues exist.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions