What should be tested when Unit Testing is conducted?
Answer Posted / 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 |
Post New Answer View All Answers
Which are the standards for software test plans?
Why would we not include these?
What type of testing you perform in organization while you do system testing, give clearly?
Hi, can any tell how a tester can be judged? i have to interview a tester, how should i judge whether he has a justified experience or not? how a person with 3 years of experience in manual testing can be judge?
in transfer funds module, how you come to know that amount has been transferred successfully or not....explain in detail
Write the function test case to add a customer to database.
What is the Testing strategy for testing client server applications/products?
aplitue questions will be based on wich type ?
What is Difference between Test Strategy and Test Methodology?
which domain is of high demand for software testing, Right now i am working in Education domain .How about demand for Education domain and which companies are recruiting in education domain
How to explain a banking project in interview ? like project discription is Client Online Banking Application provides access to information relating to Banking Online Services provided by Axis to View daily customer transactions, Current and Previous customer statements, Transfer funds from Chequing and Savings accounts ................ From interview point of view can any one explain this project in laymans language
Want to learn Manual Testing in just two days? Students around Thanjavur, Trichy, Mayavaram and Kumbakonam Mail to manualtestingtraning@gmail.com. Entire Manual Testing Concept. Any doubt regarding IT Job please mail above ID
What are differences in testing a client server and a web application?
explain ur testing project? how can u nexplain . what should we explain ? i have not worked on any project?
Please anyone give answers for all below questions and help ? realtimers please and please share your knowledge.lot of questions left unanswered.