Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CUnit - Lightweight Unit Testing for C

CUnit is a simple and lightweight unit testing framework for C. It provides:

  • Test Cases & Suites for structured testing
  • Assertions to compare expected vs. received values
  • Automated Results Display with detailed output

Usage Example

void my_test(void) {
    uint32_t count = 0;
    count += try("Example Test", set_int(42), set_int(42));
    results(count);
}

About

A lightweight unit testing framework for C, providing test suites, assertions, and automated execution.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages