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: Basis Path Testing

Post Reply Post New Topic
Author Message
tanushree
Senior Member
Senior Member
Avatar

Joined: 04Apr2007
Online Status: Offline
Posts: 2160
Quote tanushree Replybullet Topic: Basis Path Testing
    Posted: 18Oct2007 at 12:55am
Basis Path Testing
A testing mechanism proposed by McCabe.
Aim is to derive a logical complexity measure of a procedural design and use this as a guide for defining a basic set of execution paths.
Test cases, which exercise basic set, will execute every statement at least once.

Flow Graph Notation
Flow graph notation helps to represent various control structures of any programming language. Various notations for representing control flow are:
                                 
                                   Fig 3.1: Notations used for control structures

On a flow graph:

•   Arrows called edges represent flow of control
•   Circles called nodes represent one or more actions.
•   Areas bounded by edges and nodes called regions.
•   A predicate node is a node containing a condition
Any procedural design/ program can be translated into a flow graph. Later the flow graph can be analyzed for various paths within it.
Note that compound Boolean expressions at tests generate at least two predicate node and additional arcs.



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 1.516 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