Is Unit Testing used during the development of rainmaker

JoshNOA
Posts: 25
Joined: Wed Aug 02, 2023 12:19 pm

Is Unit Testing used during the development of rainmaker

Postby JoshNOA » Fri Aug 04, 2023 8:44 am

Just a simple question, what processes are in place for the unit and integration testing of rainmaker?

I feel like the test coverage is a lot lower than it should be, and its rather hurting my confidence in the product.

So I ask, how is this tested in a development environment? How are releases tested?


Best Wishes,

Joshua C

ESP_Piyush
Posts: 309
Joined: Wed Feb 20, 2019 7:02 am

Re: Is Unit Testing used during the development of rainmaker

Postby ESP_Piyush » Wed Aug 09, 2023 12:15 pm

The components used in ESP RainMaker (like MQTT, Wi-Fi provisioning, NVS, Local Control, etc.) have their unit tests in the ESP IDF Framework. We also have internal tests to ensure that the Wi-Fi and MQTT connections work fine after the commits since these are the most important pieces. Integration testing is done using automation suite for phone apps which tests all the RainMaker functionality implemented on the firmware.

We can surely improve further on the testing, but is their any specific issue that you have faced apart from the stop/deinit APIs not working as intended?

Who is online

Users browsing this forum: No registered users and 14 guests