What should be tested when Unit Testing is conducted?
Answer / ramyab.mca@gmail.com
Hai...
What should be tested when Unit Testing: A lot depends on
the type of program or unit that is being created. It could
be a screen or a component or a web service. Broadly the
following aspects should be considered:
a. For a UI screen include test cases to verify all the
screen elements that need to appear on the screens
b. For a UI screen include Test cases to verify the
spelling/font/size of all the “labels” or text that appears
on the screen
c. Create Test Cases such that every line of code in the
unit is tested at least once in a test cycle
d. Create Test Cases such that every condition in case
of “conditional statements” is tested once
e. Create Test Cases to test the minimum/maximum range of
data that can be entered. For example what is the
maximum “amount” that can be entered or the max length of
string that can be entered or passed in as a parameter
f. Create Test Cases to verify how various errors are
handled
g. Create Test Cases to verify if all the validations are
being performed
K,Byeeee...
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 2 Yes | 0 No |
pl. give me the list of top jobs website to register i have 2Yrs. Experience in manual testing
Please anybody explain the interaction of tester with developers and team lead regarding bugs or any issue, how they interact? How they discuss... Plz be clear in detail
6 Answers eSymbiosis, Infosys,
If there is an open bug in SIT then would u proceed with UAT?
what is traceability matrix?
what is meant by defect bash?
How do you go about testing a project ?
What is the final stage of integration testing
who prepare test plan?
What is black box testing, and what are the various techniques?
how to write test cases for testing databases,especially for testing and writing test cases for stored procedures.any real time database testers.please answer me.
Who can perform the unit testing?
What is field testing?