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 diff between Agile SDLC and TDD SDLC? Kindly let me know?
what are the definitions of smoke , sanity and dry run testing ?
What is interface testing
write 3 test cases on MSWORD
How will you test Email field?
what is the need to write testcases??? cant u test ur application with SRS?? y u have to write testcase document??
What is difference between Test Plan and Test Strategy
what is the testcase review?
who prepare test plan?
when we swipe the credit card what will genertaed in Back end. how system will validated from the back end for credit card who is Aquriree and Issuer ,
We r developing one Web Site for construction company. In that Web site we have different option like About Us,Contact Us,Home,Sites,Site Map,Search Etc........ and front page of that web application contains 6 different pictures means single page contain 6 pics etc... write Test plan ,Test Scenarios,Test Case ....Plz answer this question ASAP
Test Case Design Techniques like BVA, Equalance partitioning, Error guessing?