Explain about Loop Testing methodology?
Answer / ramyab.mca@gmail.com
Hai...
Loops are the basis of most algorithms implemented using
software.Loop testing is a white box testing approach that
concentrates on the validity of loop constructs.Four loops
can be defined: simple loops, concatenate loops, nested
loops, and unstructured loops.
1.Simple loops: The follow group of tests should be used on
simple loops, where n is the maximum number of allowable
passes through the loop:
• Skip the loop entirely.
• Only one pass through the loop.
• Two passes through the loop.
• M passes through the loop where m<n.
• n-1, n, n+1 passes through the loop.
2.Nested loop: For the nested loop the number of possible
tests increases as the level of nesting grows. This would
result in an impractical number of tests. An approach that
will help to limit the number of tests:
• Start at the innermost loop. Set all other loops
to minimum values.
• Conduct simple loop tests for the innermost loop
while holding the outer loop at their minimum iteration
parameter value.
• Work outward, performing tests for the next loop,
but keeping all other outer loops at minimum values and
other nested loops to “typical” values.
• Continue until all loops have been tested.
3.Concatenated loops: Concatenated loops can be tested
using the techniques outlined for simple loops, if each of
the loops is independent of the other. When the loops are
not independent the approach applied to nested loops is
recommended.
4.Unstructured loops: This class of loop should be
redesigned to reflect the use of the structured programming
constructs.
K,Byeeee...
Thanks & Regards
B.Ramyasri
| Is This Answer Correct ? | 13 Yes | 2 No |
What is the difference between windows application and Client server application ?
How to create Test Cases Based on Test Plan ? Is there any approach following for creation of test cases?
there are 100 test cases. and u got a bug at 85th test cases. u reported it to dev and dev fixed that bug. when u r doing regression testing from whic test case u'll do tetsing?? will start from 85 th test case are u'll execute 100 test cases??
How should you learn about problems discovered in the field, and what should you learn from those problems?
Hi Friends, Please help me in providing System test cases examples Thanks in Advance
Hi Friends, Just One Month Back I was Join in Small Company as a Testing Eng.I have Six Month Exp. In this Company all my team memb.r fresher & PM give responsibility on us to prepare all require QC doc. for our new project.So I need ur help in this matter .How Can I start my work and Which Doc.I start to collect & From Where I get Detail Information all abt these thing. Thanks to all friends who give reply to this. Suyog
what are the different types of browser compatability u will test ?
7 Answers ControlNet, FIC, First Indian Corporation,
What are new features in Vista / Longhorn ?
2 Answers nvidia, Symantec, Veritas,
Is it possible that there can be number of test cases? Mean to say 500 or 1000 test cases? Reply me as early as possible.
How will u do manual testing of yahoo messengers?
What is difference between Test Plan and Test Strategy?
If any customer will raise the change request, it falls under developer part or QA part?