fff
A testing micro framework for creating function test doubles (by meekrosoft)
Unity Test API
Simple Unit Testing for C (by ThrowTheSwitch)
Our great sponsors
fff | Unity Test API | |
---|---|---|
12 | 15 | |
714 | 3,656 | |
- | 3.3% | |
3.6 | 7.4 | |
5 months ago | about 21 hours ago | |
C | C | |
GNU General Public License v3.0 or later | MIT License |
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.
fff
Posts with mentions or reviews of fff.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-06-20.
- Don't Use Mocks
-
Like seriously why does not one does it ?
Only cool framework in my opinion. I wish I had the guts to delve so deeply into Variadic Macros.
-
commonly used c-unit testing framework in 2022?
I use Unity Fixtues + FFF + CException framework.
-
Relative Newbie to Linux Command Line
For news reading, surely, I'd go with newsboat, perfect for this. Newsboat also fetches Odysee and Youtube channels, and you can integrate mpv to it to watch the videos. No ads, nothing. For file manager, I'm using fff, very minimal and relatively easy to configure.
-
industry standard for Test frameworks?
Also recommend checking out fff.
-
What techniques do you have to develop before hardware is available?
Everything else was covered: Ceedling+Unity+CMock for Unit Testing in C, CppuTest or GoogleTest or other options for C/C++. FFF is also useful when mocking. If you test and develop your modules correctly, they should when they are in your application. If you are developing using an Event-Driven Framework like QP or QML, then I would not test anything to do with the framework, but the functions that are called in each event. Same thing if you are using an RTOS, test what's inside your threads/tasks.
-
Unit Testing in C
Here is link number 1 - Previous text "fff"
There are plenty of frameworks for writing unittests but currently I prefer Unity and fff for creating fakes/stubs.
-
RFC on a C unit testing and Mocking library I am working on
Interesting! Always nice to see more of these kind of test tools for C. I'm currently using fff and Unity
-
What is your method for unit tests?
For unit tests in C, I use Unity for running the tests. Fake all functions that directly interact with hardware using FFF.
Unity Test API
Posts with mentions or reviews of Unity Test API.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-05-07.
-
Unit testing tool suggestions
Here is the github repo link of Unity: https://github.com/ThrowTheSwitch/Unity
-
What is the best Unit testing framework for VS code for C?
You shouldn't need a configuration file to write tests with Unity. You are using Unity from Unity on Github right? You can use YAML files to along with some helper scripts Unity and related tools provide, but it doesn't sound like you are there yet.
-
commonly used c-unit testing framework in 2022?
I use Unity Fixtues + FFF + CException framework.
-
industry standard for Test frameworks?
I know Unity is used in the embedded industry, I also use it for my own personal projects. It’s great and does everything I need.
-
Testing Frameworks for C++, ESP32
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
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?
-
What is your method for unit tests?
For unit tests in C, I use Unity for running the tests. Fake all functions that directly interact with hardware using FFF.
What are some alternatives?
When comparing fff and Unity Test API you can also consider the following projects:
Google Test - GoogleTest - Google Testing and Mocking Framework
CppUTest - CppUTest unit testing and mocking framework for C/C++
Google Mock
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.
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
minUnit - Minimal unit testing framework for C
UnitTest++ - A lightweight unit testing framework for C++
gdb-frontend - ☕ GDBFrontend is an easy, flexible and extensible gui debugger. Try it on https://debugme.dev