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 is CRD and SRD file
how mapp the defect id in quality center?
what is the work flow of testing(glamorous)
What usually indicates that your virtual user script has dynamic data that is dependent on you parameterized fields?
CAN ANYONE EXPLAIN IN DETAIL THE WATERFALL MODEL WITH THE OUTPUTS OF EACH PHASE.
Hi, this is not a tech question, i have 4 yrs of experience in Mainframe systems, presently as a mainframe tester in pune, i just want to step towards south locatios(preferable hyd), suggest me the best way to get calls from hyd.
there is a mobile phone and it has got 2 buttons one is it takes photo other is it uploads photo to facebook how to you test this application ?
7 Answers CTS, Murugappa Group,
hi plz send me top 30 FAQ's & answers on MANUAL TESTING.... regards Sonia
plz send the test scenarios and test cases for "user name should contain 4 to 8 chars and they should have only vowels"
Maximum how many defects found in a single module?
Hi Friends, I have got 3 years of exp in IT industry in to Testing, working as Software test eng., in hyd.. kindly let me know any openings in Pune with this exp...contact @ swamyn.2k@gmail.com or pawan_your@yahoo.com
What type of metrics would you use?