-
-
How to calculate Branch and statement coverage for these?
Switch PC onStart “outlook”IF outlook appears THENSend an emailClose outlooka) 1 test for statement coverage, 1 for branch coverageb) 1 test for statement coverage, 2 for branch coveragec) 1 test for statement coverage. 3 for branch coveraged) 2 tests for statement coverage, 2 for branch coveragee) 2 tests for statement coverage, 3 for branch coverageIF A > B THENC = A – BELSEC = A + BENDIFRead DIF...
-
-
100% Path and Decision Coverage
How many test cases are needed to have 100% path coverage and decision coverage in the following code.
if (conditionA){ c=c+1}if(conditionB)d=d-1elsee++consider condition A and condition B are independent. -
Statement and Decision Coverage
Considering the following pseudo-code, calculate the MINIMUM number of test cases for statement coverage, and the MINIMUM number of test cases for decision coverage respectively.READ AREAD BREAD CIF C>A THENIF C>B THENPRINT "C must be smaller than at least one number"ELSEPRINT "Proceed to next stage"ENDIFELSEPRINT "B can be smaller than C"ENDIFA. 3, 3.B. 2, 3.C. 2, 4.D. 3, 2.
-
-
-
-
-
-
-
-
What are Coverage Techniques?
What are Coverage Techniques? type of coverage? Please explain me with example.Thanks in advance.
-
Code Compliance Testing
What to you mean by Code Compliance Testing? What are the areas to be check in SQL Server Code Compliance Testing?
-
-
-
-
-
Unit Test Case
Why Unit Test Case is much important in Coding Phase? Who will prepare and execute the Unit Level Test cases? What are the documents needed for Unit test Case?
-
Whitebox Testing Interview Questions
Ans