|hayai||Unity Test API|
|over 2 years ago||6 days ago|
|GNU General Public License v3.0 or later||MIT License|
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.
We haven't tracked posts mentioning hayai yet.
Tracking mentions began in Dec 2020.
Unity Test API
Testing Frameworks for C++, ESP32
4 projects | reddit.com/r/embedded | 1 Sep 2021
If you're using the ESP-IDF framework, it already comes with Unity. It's easy to use, and you have the Test Driven Development for Embedded C book as reference.
Unit Testing in C
Check out Espressif's ESP-IDF and their approach to unit testing with the Unity unit test framework. It's a complete system based on FreeRTOS with support for their hardware, common protocols, and libraries.
I use the Unity Test Framework: https://github.com/ThrowTheSwitch/Unity
There are plenty of frameworks for writing unittests but currently I prefer Unity and fff for creating fakes/stubs.
I wrote a Unit Testing Framework in pure C that can test C & C++ code
2 projects | reddit.com/r/C_Programming | 30 May 2021
Drawing a comparison to heavyweights like Google Test isn't fair game though. Your real competition is the likes of Unity and CuTest. My question to you, what does Muon have that Unity doesn't? What's the selling point to get me to switch over?
How to make a c shared library
1 project | reddit.com/r/AskProgramming | 7 May 2021
I have recently gotten back into hobby programming and have downloaded the Unity unit testing library for c from Github. In future, I would like to use this library for all projects and don't want to keep copying it over / referring to it's path during compilation. What is the recommended method of doing this? I have attempted to create a .so file and store it in /usr/local/lib (which is a search directory for the linker) as detailed in this video but that hasn't really worked. The error I get when attemtping this is a simple "undefined reference to etc", so it can't find it. I also attempted copying the two .h files (unity.h and unity_internals.h) into /usr/include and changing the include statements from #include "unity.h" to #include and recompiling but that didn't help. Is there a way for me to store the library in my home directory somewhere as opposed to under root?
What is your method for unit tests?
2 projects | reddit.com/r/embedded | 14 Apr 2021
For unit tests in C, I use Unity for running the tests. Fake all functions that directly interact with hardware using FFF.
I started using Unity, but should I include it in my github repo?
1 project | reddit.com/r/C_Programming | 31 Jan 2021
What are some alternatives?
benchmark - A microbenchmark support library
CppUTest - CppUTest unit testing and mocking framework for C/C++
Google Test - GoogleTest - Google Testing and Mocking 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)
esp-idf - Espressif IoT Development Framework. Official development framework for Espressif SoCs.
Celero - C++ Benchmark Authoring Library/Framework
gdb-frontend - ☕ GDBFrontend is an easy, flexible and extensionable gui debugger.
minUnit - Minimal unit testing framework for C
Boost.Test - The reference C++ unit testing framework (TDD, xUnit, C++03/11/14/17)
fff - A testing micro framework for creating function test doubles
doctest - The fastest feature-rich C++11/14/17/20 single-header testing framework