Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Multiple Condition Testing and Multiple Condition Coverage                            withPrepare yourself for the ISTQB e...
Dictionarymultiple condition coverage: The percentage ofcombinations of all single condition outcomes within onestatement ...
What is…?!!Multiple condition testing - all possible combinations oftrue/false conditions are identified.                 ...
Rules!!100% multiple condition coverage implies100% condition determination coveragebranch condition combination coverage ...
Examples with sequential codevwj = v - w * yas;cxd = h - j * emg;                       No multiple condition to          ...
Examples with IFmf = ta / kfa;IF (g || cn || iyl){  msa = si + rr;            In order to cover all}                      ...
Examples with IF ELSEIF (nk || c && qq){  j = ce * a;}                       In order to cover allELSE                   m...
Examples with SWITCHtr = j - ap;SWITCH (zk){                       In order to cover all  CASE 0:              multiple co...
Examples with WHILEe = 4;WHILE (s || qa || e > -7){                            In order to cover all  kt = ngk * bcw;     ...
Examples with FORb = cq + bm;FOR (htk = 9; htk < 15; htk++){                                 In order to cover all  u = sj...
More examplesFOR (gc = 0; gc < 4; gc++){  IF (s || vjq && mp)  {                              In order to cover all    c =...
More examplesIF (o && da && iwd){  new = i + tnb + xw;}                           In order to cover allIF (xc || cwk)     ...
More examplesSWITCH (wk){  CASE 0:    IF (jo && mme)          In order to cover all    {                      multiple con...
More examples with…TestCompetence allows you to generate sample pseudocode to pracitse whiteboxtechniques including multip...
More examples with…TestCompetence allows you to generate sample pseudocode to pracitse whiteboxtechniques including multip...
More examples with…You get pseudocode and sample answers just like during a regular ISTQB exam.Choose the right answer.   ...
More examples with…You get pseudocode and sample answers just like during a regular ISTQB exam.Choose the right answer.   ...
How to get it…Visit TestCompetence.com and get one for only…                     EURO   /                    USD       Unl...
Check also examples for…• Statement testing and coverage >>• Decision testing and coverage >>• Condition testing and cover...
Multiple Condition Testing and Coverage. ISTQB Whitebox Techniques with TestCompetence
Upcoming SlideShare
Loading in …5
×

Multiple Condition Testing and Coverage. ISTQB Whitebox Techniques with TestCompetence

8,890 views

Published on

Whitebox techniques - Multiple Condition Testing and Multiple Condition Coverage - prepare yourself for the ISTQB advanced exam for Technical Test Analyst and Test Analyst.

Published in: Education
  • Be the first to comment

Multiple Condition Testing and Coverage. ISTQB Whitebox Techniques with TestCompetence

  1. 1. Multiple Condition Testing and Multiple Condition Coverage withPrepare yourself for the ISTQB exam
  2. 2. Dictionarymultiple condition coverage: The percentage ofcombinations of all single condition outcomes within onestatement that have been exercised by a test suite.100% multiple condition coverage implies 100%condition determination coverage.multiple condition testing: A white box test designtechnique in which test cases are designed to executecombinations of single condition outcomes (within onestatement). From „Standard glossary of terms used in Software Testing” Copyright © 2013
  3. 3. What is…?!!Multiple condition testing - all possible combinations oftrue/false conditions are identified. From „Certified Tester Advanced Level Syllabus (version 2007)” Copyright © 2013
  4. 4. Rules!!100% multiple condition coverage implies100% condition determination coveragebranch condition combination coverage = multiple condition coveragecondition combination coverage = multiple condition coveragebranch condition combination testing = multiple condition testingcondition combination testing = multiple condition testing From „Certified Tester Advanced Level Syllabus (version 2007)” Copyright © 2013
  5. 5. Examples with sequential codevwj = v - w * yas;cxd = h - j * emg; No multiple condition to cover.Copyright © 2013
  6. 6. Examples with IFmf = ta / kfa;IF (g || cn || iyl){ msa = si + rr; In order to cover all} multiple conditions, you need 8 test cases.Copyright © 2013
  7. 7. Examples with IF ELSEIF (nk || c && qq){ j = ce * a;} In order to cover allELSE multiple conditions, you{ need 8 test cases. nde = bb - v / zk;}djk = d / fgw;Copyright © 2013
  8. 8. Examples with SWITCHtr = j - ap;SWITCH (zk){ In order to cover all CASE 0: multiple conditions, you dvp = vev * pot; need 2 test cases. break; CASE 1: b = ut + e; break;}Copyright © 2013
  9. 9. Examples with WHILEe = 4;WHILE (s || qa || e > -7){ In order to cover all kt = ngk * bcw; multiple conditions, you e--; need 4 test cases.}ot = cg - nmv / r;Copyright © 2013
  10. 10. Examples with FORb = cq + bm;FOR (htk = 9; htk < 15; htk++){ In order to cover all u = sjj / ol; multiple conditions, you} need 1 test case.Copyright © 2013
  11. 11. More examplesFOR (gc = 0; gc < 4; gc++){ IF (s || vjq && mp) { In order to cover all c = gmg / qck; } multiple conditions, you} need 8 test cases.ir = k + yx - fj;Copyright © 2013
  12. 12. More examplesIF (o && da && iwd){ new = i + tnb + xw;} In order to cover allIF (xc || cwk) multiple conditions, you{ need 11 test cases. xck = nyt + sq;}ELSE{ IF (mbo || atj || xny) { iq = uu * a; } ELSE { uh = tu * en - vt; }}Copyright © 2013
  13. 13. More examplesSWITCH (wk){ CASE 0: IF (jo && mme) In order to cover all { multiple conditions, you bmw = w - l / h; need 12 test cases. } break; CASE 1: IF (y || cm && td) { sjc = he / eqw; } break;}ype = d + boy;Copyright © 2012
  14. 14. More examples with…TestCompetence allows you to generate sample pseudocode to pracitse whiteboxtechniques including multiple condition coverage… Copyright © 2013
  15. 15. More examples with…TestCompetence allows you to generate sample pseudocode to pracitse whiteboxtechniques including multiple condition coverage… Choose the maximum number of Choose the instructions level of per level. nested statements. Choose the type of Choose the coverage type of from: statement. statement, decision, codition, multiple condition, GENERATE and modified your exercise. condition. Copyright © 2013
  16. 16. More examples with…You get pseudocode and sample answers just like during a regular ISTQB exam.Choose the right answer. Pseudocode Choose an answer. Copyright © 2013
  17. 17. More examples with…You get pseudocode and sample answers just like during a regular ISTQB exam.Choose the right answer. Pseudocode Your answer Right answer Copyright © 2013
  18. 18. How to get it…Visit TestCompetence.com and get one for only… EURO / USD Unlimited number of exercises during 24 hours!Copyright © 2013
  19. 19. Check also examples for…• Statement testing and coverage >>• Decision testing and coverage >>• Condition testing and coverage >>• Modified condition decision combination (MC/CD) coverage >> Copyright © 2013

×