Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 732 Bytes

File metadata and controls

22 lines (18 loc) · 732 Bytes

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