GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Testing  >  Testing Basics
Go To First  |  Previous Question  |  Next Question 
 Testing Basics  |  Question 187 of 203    Print  
What is the difference between path coverage and branch coverage?

  
Total Answers and Comments: 1 Last Update: September 24, 2007     Asked by: kavitha_pendkar 
  
 Sponsored Links

 
 Best Rated Answer

No best answer available. Please pick the good answer available or submit your answer.
September 24, 2007 11:17:15   #1  
lasolas        

RE: What is the difference between path coverage and b...

Path coverage testing is arguably the most thorough type of testing that seeks to test the critical paths of software code in an application. These major paths of code may have several decision points or "if" statements which branch off the main path. Branch coverage testing aims to ensure that each branch from each "if" statement is executed.

For example a main path with three if statements; if(x) if(y) if(z) would need six test cases to ensure full test coverage as follows:

test case 1 if(x) true
test case 2 if(y) true
test case 3 if(z) true
test case 4 if(x) false
test case 5 if(y) false
test case 6 if(z) false


 
Is this answer useful? Yes | No

 Related Questions

Big difference is that debugging is conducted by a programmer and the programmer fix the errors during debugging phase. Tester never fixes the errors, but rather find them and return to programmer.  
Latest Answer : The goal of testing is to show the presence of bugs whereas the goal of debugging is to locate the error and remove it. debugging is done by the programmer whereas testing is usually done by the tester. Debgging follows testing. Testing can be automated ...

Structural is a "white box" testing and based on the algorithm or code. Functional testing is a "black box" (behavioral) testing where the tester verifies the functional specification. 
Latest Answer : Structural testing is a white box testing. where a tester looks into the code and performs the testing.Functional testing is a black  box testing. where a tester  performs testing without looking into  the code. Testing occurs based upon ...

This question is surprisingly popular. However, the answer is quite simple. The goals of both are different: The goal of testing is to find the errors. The goal of QA is to prevent the errors in the program. 
Latest Answer : Testing is a skill of checking the software agianst user requirement.QA(Quality Assurance) is the team that provide the guidelines, standard, planning to the software company and it will verify the working methadology of the software company. ...

Homework. Tell any version number you want - not many interviewers know the difference at version level. However, do not tell any numbers if you never worked with Oracle!  
Latest Answer : Oracle 8i. ...

Again, if you ever worked with Oracle, this question should be trivial for you to answer (from command prompt, of course) If you never worked with Oracle, note politely that you did not touch an Oracle 
Latest Answer : Using SQL editor. ...

Latest Answer : Yes. There could be low severity - high priority bugs. ...

Latest Answer : Retesting:  When we report a bug and the developer fixes it. We once again run the same test case which had generated the bug on that specific part of the application to see whether the reported bug was resolved or not.Regression testing: Once the ...

Latest Answer : Main diff is Goal of Quality Control to find bugsGoal of Quality Assurance Prevent from bugsRegards,PRasanna.S.R ...

Latest Answer : WinRunner is Mercury Interactive's tool that performs Functional,Regression testing but Rational Robot belongs to Rational Tolls that perfoms Functional,Regression as well as Performance testing.WinRunner has 3 Checkpoints-GUI,Bitmap and Database.And ...
Read Answers (10) | Asked by : Koustubh

Latest Answer : smoke testing: it means testing the basic and critical features of the application before doing rigorous testing. And it will make sures that wether the application is testable are not.Sanity Testing: retesting the same old smoke test cases again is called ...
Read Answers (27) | Asked by : vikram vyas


 Sponsored Links

 
Related Articles

What is Access Path

In relational database management system (RDBMS) terminology, Access Path refers to the path chosen by the system to retrieve data after a structured query language (SQL) request is executed. A query may request at least one variable to be filled up with one value or more. A query may look like th
 

What is difference between call by value and call by reference in function?

The arguments passed to function can be of two types 1. Values passed 2. Address passed The first type refers to call by value and the second type refers to call by reference. For instance consider program1 main() { int x=50, y=70; interchange(x,y); printf(“x=%d y=%d”,x,
 

Testing and Integration

Once the software is complete, it will go though rigorous testing before its actual integration.  In this article we will take a look at different types of software testing and also different types of integration. With the diversity of business setting and software development models, it al
 

The Interview Snafu

How to turn someone else’s mistake to your advantage Your dream job is about to become reality. A recruiter gave you the heads up about the perfect position at Humungous Conglomerate, Inc. You went through five interviews as well as a battery of psychological tests mandated by their HR de
 

Winning a Job Interview with a Winning Resume

Does your resume unlock your potential, take your skills to the highest level and win you the interview and the job you want now? The job market today is highly competitive and even if you think you have what it takes to get an interview you won’t get over the line without a polished, prof
 

Career Assessment Basics

The three important things to take into consideration while deciding what you want to do for a career, are: your interests, abilities, and values. You don’t want to be stuck doing something that is boring, you probably won’t be hired at something that you are bad doing at, and ca
 

Client-Server Testing Technology

Client Server Testing Technology Client Server Software Client server software requires specific forms of testing to prevent or predict catastrophic errors Servers go down records lock I O Input Output errors and lost messages can really cut into the benefits of adopting this network technology Test
 

Importance of Proper English during Job Interview

Importance of Proper English during Job Interview Your job interview is crucially important and it will determine whether or not you will get the job Depending on the type of job you re going for it is very important for you to use proper English In most cases jobs which offer higher salaries will h
 

UML basics

UML basics The Unified Modeling Language is a powerful tool that can allow developers to construct high quality applications While it has existed since the 1990s it has become more valuable to developers who are building complex applications It is also valuable to teams of developers who are working
 

Difference between Scholarship and Grant

Difference between Scholarship and Grant While both scholarships and grants allow students to pay for their tuition without having to pay the money back there are a number of key differences between the two Knowing the difference between grants and scholarship will make it much easier for students t
 

About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape