greatest
AUnit
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
-
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.)
AUnit
-
How can I unit test my firmware?
To give some context, ESPecial is an Arduino based firmware that gives you the possibility to control your esp32 via a web interface or telegram bot, and add dynamically all kind of automations. It’s a bit like ESP-Home, but without the compilation step (and far from having all its features!). It has nice features like web socket, Camera, Matt and more. The thing is that the whole code is not tested, I’m a web developer and never done C++ so when I started that project I just wanted something working for my prototypes. Now that I want the thing to be more robust, I’d like to implement unit/functional tests. I found this: https://github.com/bxparks/AUnit and of course the Expressif IDF page on the subject: https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/unit-tests.html But I’m curious about what you guys could suggest, what would be the best option for this project? Thanks for your help!
-
Testing Frameworks for C++, ESP32
I‘ve used https://github.com/bxparks/AUnit in combination with the arduino framework. Worked very well.
What are some alternatives?
Unity Test API - Simple Unit Testing for C
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)
Arduino-AppleMIDI-Library - Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
Criterion - A cross-platform C and C++ unit testing framework for the 21st century
ESPecial - ESP32 automation with web interface and telegram bot
build - Sample project showing a minimalist multiplatform build
dRehmFlight - Teensy/Arduino flight controller and stabilization for small-scale VTOL vehicles
software-for-fun
mite - Minimalist test framework for C language.
Somfy_Remote_Lib - Emulate a Somfy remote using a 433.42 MHz transmitter.