Explain the difference between decision coverage and
condition coverage ? If possible provide few examples.
Answer Posted / mfsi_krushnas
Decision Coverage
-----------------
1.Generally it says The test inputs to cover all
decisions(for ex:IF) will be in such a way that,those test
inputs can be able to make that decision block both true and
false.
for ex:
if(a>b)
print a;
endif
if (b>c)
print c;
else
print b;
endif
so here we should make test inputs in such a way that it
should able to make first if true and false although there
is no else condition.same for the second if block.
condition coverage
------------------
Here condition refers to the all possible conditions
existing in the program that we can traverse.
for ex:
if((a>b) && (b>c))
here inside the decision block there are conditions which we
should traverse.
Is This Answer Correct ? | 12 Yes | 0 No |
Post New Answer View All Answers
Explain some techniques for developing software components with respect to testability.
Differentiate test bed and test environment?
Risk Analysis a) 2 step, b)3 step, c) 4 step, d) 6 step
Hello again!! wanted to ask you HOW EXACTLY create stubs and driver in integration testing? 2.whats the difference between integration testing and system integration testing? Thanks!!
list of methods that is used to document the requirements of a software.
Relative to other technical groups in the company? Relative to your staff?
functional testing test cases for transfer funds ?
What r the documents required for performance testing
how to connect your project in database?
Why performance testing is performed? What are tools of performance testing?
sanity testing is done during regression testing.is it true.if it is true plz explain?
What is virtual creation tool?
Did any one completed CSTE certiication? can u send sample question papers? how to apply that? pls send it to my mail id - dsnathi@gmail.com THANKS IN ADVANCE
When will the testing starts?
Tell me the algo for convering number into words. Meanse if the number is 4567 then it should print Four Thousand Five Hundred Sixty Seven