Arundhati Mahapatra posted an Question
March 27, 2022 • 17:07 pm 20 points
  • UGC NET
  • Computer Science & Applications

Software testing

can you please explain about path testing in software engineering

1 Answer(s) Answer Now
  • 0 Likes
  • 1 Comments
  • 0 Shares
  • Aparna 1 best-answer

    Path testing is a white-box testing technique based on the control structure of a program or a module. It is used to design the test cases.

    cropped6330345968095338720.jpg
    cropped8871280117183970956.jpg
    cropped4134264059223310220.jpg
    cropped6635135458283755543.jpg
    eduncle-logo-app

    Path testing is used to design test cases , bases on flows or logical paths that can be taken through program. It define the number of independent paths, so the number of test cases needed can be defines explicitly to maximize test coverage. See the example for more detail

    eduncle-logo-app

    See the example for more details

    eduncle-logo-app

    can you elaborate this with example

    eduncle-logo-app

    This is very simple example of finding maximum number from three numbers. To do the path testing , it require complete knowledge of program structure. From the algorithm or program structure, here drawn the control flow graph. It tells us the total paths generated hence we have to design that number of test cases to test every path atleast once.In this example program, total 4 paths created hence 4 test cases atleast designed to test every path.

whatsapp-btn

Do You Want Better RANK in Your Exam?

Start Your Preparations with Eduncle’s FREE Study Material

  • Updated Syllabus, Paper Pattern & Full Exam Details
  • Sample Theory of Most Important Topic
  • Model Test Paper with Detailed Solutions
  • Last 5 Years Question Papers & Answers