Exercise On Test Paths In Directed Graph — Tentamen Software Testing Blog

Karlo Smid
Jan 21, 2021
A Directed Graph With Multiple Initial Nodes.
credit: Introduction to Software Testing

TL;DR

In the previous post, we explained what is Test-Path in the context of the Directed Graph. Today it is time to do an exercise on Test Paths in Directed Graphs. We will introduce you to software testing based on the remarkable book, Introduction To Software Testing by Paul Ammann and Jeff Offutt.

Test-Path Exercise

  1. Give a path that is not a Test-Path in the above Directed Graph.
  2. List All Test-Paths in the above diagram
Credit: Introduction To Software Testing Book

3. Find test case inputs in Directed Graph for a + b so the corresponding test-path visits edge (n1, n3).

Originally published at https://blog.tentamen.eu on January 21, 2021.

--

--