tst
AUnit
Our great sponsors
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.
tst
-
Another C++ unit testing framework without macros
Added to the repo https://github.com/cppfw/tst/blob/master/wiki/boost-ut_comparison.md without link from the README
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?
ut - C++20 μ(micro)/Unit Testing Framework
Unity Test API - Simple Unit Testing for C
mocxx - A versatile C++ function mocking framework.
Arduino-AppleMIDI-Library - Send and receive MIDI messages over Ethernet (rtpMIDI or AppleMIDI)
dumbmutate - Simple mutation-testing
ESPecial - ESP32 automation with web interface and telegram bot
muon - GPU based Electron on a diet
dRehmFlight - Teensy/Arduino flight controller and stabilization for small-scale VTOL vehicles
testo - End-to-end-tests automation framework
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)
Somfy_Remote_Lib - Emulate a Somfy remote using a 433.42 MHz transmitter.
IRremoteESP8266 - Infrared remote library for ESP8266/ESP32: send and receive infrared signals with multiple protocols. Based on: https://github.com/shirriff/Arduino-IRremote/