greatest
A C testing library in 1 file. No dependencies, no dynamic allocation. ISC licensed. (by silentbicycle)
build
Sample project showing a minimalist multiplatform build (by thradams)
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
greatest
Posts with mentions or reviews of greatest.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-01-05.
-
Test frameworks recommendation
I’ve only used greatest.h before. It was pretty ok, easy enough to use.
-
Basic programming help
Get a unit test library/framework. There are many good ones, but if you can't decide take greatest because it's a single-header library and easy to use.
-
Looking for unittest libraries in pure C
Greatest is 1 header file. https://github.com/silentbicycle/greatest
-
I have a problem with my final assignment, can you help me?
I'd recommend writing tests. Use a testing library (e.g. Unity or Greatest). Even if that sounds like more work right now, it can help find issues early, gives you confidence that your code does what it should, and often lets you progress much faster.
-
Testing Frameworks for C++, ESP32
I have used Greatest. Works great for my purposes.
-
Test framework for C
I use greatest it's pretty easy and just a header to copy into the source tree.
-
Rust and C++ Unit testing with cxx
(TL;DR greatest is the greatest test framework I could find for that particular use case. See my "research I did" link for details.)
build
Posts with mentions or reviews of build.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-09-12.
- Looking for unittest libraries in pure C
-
Unit test - Programa para "coletar" funções de unit test
https://github.com/thradams/build/blob/main/tools/maketest.c ```c
- Universal build for C with (customizable) Unit Tests
-
How would you guys implement unit testing in C?
I have created an small parser (https://github.com/thradams/build/blob/main/tools/maketest.c) that scans the source code searching function pattern inside #ifdef TEST blocks.
What are some alternatives?
When comparing greatest and build you can also consider the following projects:
Unity Test API - Simple Unit Testing for C
ryanmock
Catch - A modern, C++-native, test framework for unit-tests, TDD and BDD - using C++14, C++17 and later (C++11 support is in v2.x branch, and C++03 on the Catch1.x branch)
soft6502 - An implementation of the 6502 Processor Emulator in C
AUnit - Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with EpoxyDuino for continuous builds.
Criterion - A cross-platform C and C++ unit testing framework for the 21st century
software-for-fun
mite - Minimalist test framework for C language.
snow - A testing library for C.