https://github.com/aisha-zahid/softwaretesting-cunit
C++ unit testing project with Input Space Partitioning, Edge Pair Coverage, Control Flow Graphs, and CUnit in Eclipse.
https://github.com/aisha-zahid/softwaretesting-cunit
cfg cpp cunit eclipse-cdt edge-pair-coverage functional-testing isp software-testing test-cases unit-testing white-box-testing
Last synced: about 2 months ago
JSON representation
C++ unit testing project with Input Space Partitioning, Edge Pair Coverage, Control Flow Graphs, and CUnit in Eclipse.
- Host: GitHub
- URL: https://github.com/aisha-zahid/softwaretesting-cunit
- Owner: Aisha-Zahid
- Created: 2025-04-19T08:31:08.000Z (about 2 months ago)
- Default Branch: main
- Last Pushed: 2025-04-19T08:53:20.000Z (about 2 months ago)
- Last Synced: 2025-04-19T15:07:52.115Z (about 2 months ago)
- Topics: cfg, cpp, cunit, eclipse-cdt, edge-pair-coverage, functional-testing, isp, software-testing, test-cases, unit-testing, white-box-testing
- Language: C++
- Homepage:
- Size: 5.45 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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