Skip to content

C++ unit testing project with Input Space Partitioning, Edge Pair Coverage, Control Flow Graphs, and CUnit in Eclipse.

Notifications You must be signed in to change notification settings

Aisha-Zahid/SoftwareTesting-Cunit

Repository files navigation

Software Testing Assignment (C++ + CUnit)

This project contains two C++ functions tested using:

  • ✅ Input Space Partitioning (ISP)
  • ✅ Edge Pair Coverage (EPC)
  • ✅ Control Flow Graphs (CFG)
  • ✅ Automated unit tests via CUnit in Eclipse CDT

Functions

  1. cli_set_idle_timeout(int timeout)
  2. crypto_auth_hmacsha256_update(const char* message, size_t length)

Files

  • cli_set_idle_timeout.cpp — function + logic
  • test_cli_set_idle_timeout.cpp — CUnit tests
  • crypto_auth_hmacsha256_update.cpp — function + logic
  • test_crypto_auth_hmacsha256_update.cpp — manual test
  • Assignment3.docx — Full written report
  • CFG images included 📊 in report

Run Locally

  • Requires Eclipse CDT + CUnit

About

C++ unit testing project with Input Space Partitioning, Edge Pair Coverage, Control Flow Graphs, and CUnit in Eclipse.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published