An open API service indexing awesome lists of open source software.

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.

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