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
PLS SEND REAL TIMERS, WHAT IS SOA TESTING..IM TRYING 3+ YR.. I HAVE GOOD KNOWLEDGE ON MANUAL TESTING... NOW IM NEW TO LEARN "SOA TESTING" IS BEST OR NOT? BEFORE LEARNING SOA TESTING ANY SKILLS ARE REQUIRED..... AND NOW WHAT IS THE MARKET FOR SOA TESTING... AND IT IS BASED ON PROGRAMMING OR NOT?
Write 2 scenarios for Integration testing? Please let me know its urgent.
Describe some staff conflicts you have handled.
Explain the importance of agile testing?
How do u prepare test environment for ur application?
What is a test log?
1.Tell me negative test cases for notepad 2.Tell me the factors for for writing severity based test cases
What is boundary value testing? Give an example.
What are the principles of software testing?
Please let me know how to test labels in web application manually and how the testcases would be. Please provide me a sample testcase
what is the main field of bugzilla which we fill to report bug to any developers???give some brief description??
Is Anyone attended the manual testing interview with capgemini in recent past. please let me know the type of questions they can ask. Thanks
What are tools of performance testing?
is it not possible to automate full project??what r the parts in project that cant be automated(tht has to be done manually)?
What is mean by multi-threading testing?