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 |
what type of test secnerio's well you write for a web testing project?
How do you test cases for mobile handsets ?
2 Answers Contata, Seed Infotech, SNGS, SoftSol,
what is impact analysis?....and base line version?...
Can the static testing be done for both web and client server application?
How to Test the Cookies and Memory leakages? (I.e. does the cookies expired or not and about memory leakage)?
Write test scenario of calendar.
Test Conditions are derived from : Test Conditions are derived from : a) Specifications b) Test Cases c) Test Data d) Test Desig
what is system testing? explian with scenarios..
What is the Major difference between Sanity and Smoke Testing
what is test phase?i want answer any body give me answer pls
Mainly how many types of reviews are present?and what is the importence of reviews?
Whats the meaning of features to be tested and features not to be tested in Test plan?
3 Answers Oneclick Testing Solutions,