How can I unit test my firmware?

This page summarizes the projects mentioned and recommended in the original post on /r/esp32

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • ESPecial

    ESP32 automation with web interface and telegram bot

  • AUnit

    Unit testing framework for Arduino platforms inspired by ArduinoUnit and Google Test. Used with EpoxyDuino for continuous builds.

  • 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!

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts