Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free. Learn more →
Top 8 C unit-testing Projects
-
My school uses Criterion (doc). source code
-
Project mention: Can some point me to a good resource on preprocessor macros? | reddit.com/r/C_Programming | 2022-05-22
If you want type polymorphism akind to c++ template, check out https://github.com/jasmcaus/tau/blob/dev/tau/tau.h
-
SonarQube
Static code analysis for 29 languages.. Your projects are multi-language. So is SonarQube analysis. Find Bugs, Vulnerabilities, Security Hotspots, and Code Smells so you can release quality code every time. Get started analyzing your projects today for free.
-
qtools
QTools collection of open source tools for embedded systems development on Windows, Linux and MacOS
-
Project mention: Github repository with "simple" code examples? | reddit.com/r/C_Programming | 2023-01-24
-
cauldron
A collection of single-file C libraries. (generic containers, random number generation, argument parsing and other functionalities) (by camel-cdr)
Project mention: SIMD-oriented Fast Mersenne Twister in C and non STD library discussion | reddit.com/r/C_Programming | 2023-02-02It really depends on your use case, but I've written a header only PRNG library that might be interesting to you. I've also held a presentation about it, if you are interested in the specifics: "How computers generate random numbers (A guide for programmers)"
-
libcester
A robust header-only unit testing framework for C and C++ programming language. Support function mocking, memory leak detection, crash report.
-
clove-unit
Single-Header Unit Testing framework for C (interoperable with C++) with test autodiscovery feature
Project mention: Released CLove-Unit Test Adapter for Visual Studio! | reddit.com/r/unittesting | 2022-10-07Now you can run your C/C++ unit test written with CLove-Unit (single-header library) with a UI boost on Visual Studio.
-
InfluxDB
Build time-series-based applications quickly and at scale.. InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
-
C unit-testing related posts
- SIMD-oriented Fast Mersenne Twister in C and non STD library discussion
- Github repository with "simple" code examples?
- C Posix complaint argument parsing in 42 loc, inspired by Duff's device
- Fast Approximate Gaussian Generator
- Single header argument parsing, inspired by plan9's arg(3), in 45 loc
- Released CLove-Unit Test Adapter for Visual Studio!
- CLove-Unit v2.3.0 is out Single-header unit-testing library for C/C++
-
A note from our sponsor - SonarQube
www.sonarqube.org | 7 Feb 2023
Index
What are some of the best open-source unit-testing projects in C? This list will help you:
Project | Stars | |
---|---|---|
1 | Criterion | 1,698 |
2 | Muon | 118 |
3 | qtools | 100 |
4 | c_koans | 89 |
5 | cauldron | 84 |
6 | libcester | 50 |
7 | clove-unit | 26 |
8 | testdrive | 2 |