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

A Directed Graph With Multiple Initial Nodes.
credit: Introduction to Software Testing


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.




Founder of Tentamen, software testing agency.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Constrained Extension in Swift with Arrays

Exploring built-in Jupyter Notebooks in Azure Cosmos DB

[HowTo] Confidential coding with Intel® SGX on RHEL/CentOS 8.x (1)

As I wrote before in an earlier (and unfortunately outdated and incorrect) blog,

Buy Verified Cash App Account with BTC Enable

How to create a login screen page in swift 3: authenticate an user and keep the session active


Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Karlo Smid

Karlo Smid

Founder of Tentamen, software testing agency.

More from Medium

Continuous Testing: The Future of QA (part 1)

5 Benefits of Enterprise Continuous Testing — ToolSwift

Quality Assurance in Backend Implementations — Parser Blogs

The power of emotion driven testing