Active TopicsActive Topics  Display List of Forum MembersMemberlist  CalendarCalendar  Search The ForumSearch  HelpHelp
  RegisterRegister  LoginLogin


 One Stop Testing ForumSoftware Testing @ OneStopTestingBeginners @ OneStopTesting

Message Icon Topic: diff between path coverage and brach coverage

Post Reply Post New Topic
Author Message
pothiraj_mit
Newbie
Newbie
Avatar

Joined: 20Nov2007
Location: India
Online Status: Offline
Posts: 1
Quote pothiraj_mit Replybullet Topic: diff between path coverage and brach coverage
    Posted: 20Nov2007 at 12:52pm

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



Edited by pothiraj_mit - 20Nov2007 at 12:54pm



Post Resume: Click here to Upload your Resume & Apply for Jobs

IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.125 seconds.
Vyom is an ISO 9001:2000 Certified Organization

© Vyom Technosoft Pvt. Ltd. All Rights Reserved.

Privacy Policy | Terms and Conditions
Job Interview Questions | Placement Papers | Free SMS | Freshers Jobs | MBA Forum | Learn SAP | Web Hosting