Unity Test API
esp-idf
Our great sponsors
Unity Test API | esp-idf | |
---|---|---|
15 | 245 | |
3,699 | 12,379 | |
2.6% | 2.4% | |
7.5 | 10.0 | |
10 days ago | 6 days ago | |
C | C | |
MIT License | Apache License 2.0 |
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.
Unity Test API
- Jenkins not detecting test fail
-
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.
-
In C++, why am I getting an error about iterators going out of range of a vector in a statement that uses neither iterations nor vectors?
First, for context, as part of my internship, I'm writing unit tests for functions from a hardware manufacturer provided C++ library. This particular code is testing if the relevant function returns a unique location ID for each hardware device. The test assert macro I'm using is from the Unity test framework C library.
-
commonly used c-unit testing framework in 2022?
I use Unity Fixtues + FFF + CException framework.
-
Where can I find information on how to use specific Unity test framework macros in C/C++?
Edit: I also tried Googling "list of Unity test framework macros" and found this, which is kind of helpful, but still doesn't actually explain how the correct syntax for specific macros or precisely what they do. I guess basically, I'm looking for something similar to the entries on cppreference.com, but for the Unity macros instead of the standard library functions for C++.
-
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
I use the Unity Test Framework: https://github.com/ThrowTheSwitch/Unity
-
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?
esp-idf
-
ESP32S3 ability to change wakeup interrupt in wake stub/ulp coprocessor program?
For returning to deep sleep from the wake-up stub you can take a look at how it is done in https://github.com/espressif/esp-idf/tree/master/examples/system/deep_sleep_wake_stub
-
Trying to learn ESP-IDF on VSCode
You can find the examples here: https://github.com/espressif/esp-idf/tree/master/examples
-
GC9A01 vs ILI9341 for M5Stack AtomS3 LCD - both work, which should I use?
I found the spi_lcd_touch example and flashed it, and it seems to run fine with either ili9341 or gc9a01 drivers selected (although both are mirrored, and one has the colours inverted compared to the other - both of which I assume are things I can fix in either driver).
-
I2C Interrupt
If that's the case: You register a GPIO as event source and make a task waiting for it, that then just performs the I2C-transaction. Follow this example https://github.com/espressif/esp-idf/blob/master/examples/peripherals/gpio/generic_gpio/main/gpio_example_main.c
-
ESP-IDP and pytest markers for supported targets
IDF contains stuff like https://github.com/espressif/esp-idf/blob/master/pytest.ini and https://github.com/espressif/esp-idf/blob/master/tools/ci/idf_pytest/constants.py which are not part of the pytest-embedded package.
-
Unveiling secrets of the ESP32: creating an open-source Mac layer
ugh.. arduino.
Better to start with ESP-IDF, there's a pretty full featured well documented web server, and a lot more.
https://github.com/espressif/esp-idf/tree/master/examples/pr...
- Can I use esp32 to hook up a camera?
-
where can i find esp_peripheral.h ?
i've looked over the the ble peripheiral example https://github.com/espressif/esp-idf/blob/master/examples/bluetooth/nimble/bleprph/README.md and i see it's using
- Esp32 video streaming on web server
-
ESP32-S3 Usb host hid
Hi, I have device ESP32-S3-DevKitM-1 and i want to catch keystrokes from keyboard. I tried using this https://github.com/tanakamasayuki/EspUsbHost and example from espressif https://github.com/espressif/esp-idf/tree/release/v5.1/examples/peripherals/usb/host/hid/main but when i connect keyboard it is just connecting and disconnecting. Can anyone help me with this?
What are some alternatives?
Google Test - GoogleTest - Google Testing and Mocking Framework
arduino-esp32 - Arduino core for the ESP32
CppUTest - CppUTest unit testing and mocking framework for C/C++
MicroPython - MicroPython - a lean and efficient Python implementation for microcontrollers and constrained systems
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)
WiFiManager - ESP8266 WiFi Connection manager with web captive portal
fff - A testing micro framework for creating function test doubles
WLED - Control WS2812B and many more types of digital RGB LEDs with an ESP8266 or ESP32 over WiFi!
doctest - The fastest feature-rich C++11/14/17/20/23 single-header testing framework
esptool-js - Javascript implementation of flasher tool for Espressif chips, running in web browser using WebSerial.
minUnit - Minimal unit testing framework for C
esp32-wifi-penetration-tool - Exploring possibilities of ESP32 platform to attack on nearby Wi-Fi networks.