In the field of software, the term 'Path' describes the flow of the process in a particular direction. It basically defines the route(s) of the process that starts from a particular node and ends at the destination node. A path through the program is the sequence, which begins at one junctions and terminates at another junction.
Let us define the concept of path, with the help of the given diagram. Suppose, a process initiates at node A and it will be terminated at node I. The path that may be taken by the process to finish reach its destination are
Further, the intermediate routes such as B to F, D to H, G to H, A to E, etc. are also comes under the terminology of 'path'.
It simply refers to the checking of the paths, through which various processes, involved in the functioning of the software product or application, will be executed. Basically, it is a type of structural testing that works on the source code. It follows the program or process control flow or workflow, rather taking specifications as the base for carrying out the testing of the software product.
The main intent behind this type of testing is to ensure that all the possible paths has been covered and executed, at least once, through the software program.
First of all, before taking up the process of path testing, it is being assumed that
After considering the given assumptions, the testing is carried out further through following approaches.
Generally it, involves the activity of representing the work-flow of the process or program, in the form of control chart or graph, which consists of nodes, links, edges, regions, etc.
This strategy involves selection of one, between the two decisions, for the purpose of path's execution. It is carried out, with the help of control flow chart and includes node, which inherits one of the following traits
Further, the maximum chain length in DD path > 1
It is the widely used method that guarantees the complete branch coverage in the control flow graph. This method basically, involves the study and analysis of the control flow graph, which contributes towards the identification of the linearly independent paths. Thereafter, these identified paths are used to design and build test-cases.
Besides, covering all the paths under the test, it is not guaranteed to explore all the defects, as there are many defects, which may arise due to certain reasons, such