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 |
Difference between the HotFix,ShowStopper and critical bug?
How can i understand about the concept of "State Transition" Testing. Can any Testing genius can suggest me.
what are the risk factors in the project? what is the base for testplan and entry criteria ,exit criteria for test plan?
What are the types of functional testing?
what is the difference bug,defect,error
If a interviewer ask me the duration of my project, then should i tell them the total(development+testing) time of the project? Plz tell it's urgent
1.what are the different types of testing techniques ?
What is the purpose of test strategy?
Who will excatly assign the priority to the bug.. ...
Plz anyone help me to write testcases for squar,Triangle,Rectangle and Circle.
I heard that 2 0r 3 tier applications can be tested using Browser in the <<Intranet>> Is it correct. pls correct me
can any one tell me what is the difference between Integration testing and End-End testing? plz dont tell me Integration is whitebox testing and done by developers, where as End-End is blockbox testing and done by testers.