Workflow/tool for testing
Posted: Sun Jan 16, 2022 4:25 pm
Hey,
I am currently working on a modbus module for the esp32 port using the freemodbus lib of ESP-IDF.
Does anyone know a good tool or python module for testing such things?
Every time I change something I have to flash 2 ESP32 with the new image and copy/paste my code into the repl. Since my tests include writing data on one ESP32 and checking, that the second ESP32 received the data, I can't just create a test script, because the ESP32s have to wait on each other and compare, that the received data is the same that was sent.
I know https://robotframework.org/ which is not bad, but I have to write a lot of code by myself to use it. Does anyone has a better Idea? How do you test your code, if it involves more than one ESP32?
Best regards,
Tobias
I am currently working on a modbus module for the esp32 port using the freemodbus lib of ESP-IDF.
Does anyone know a good tool or python module for testing such things?
Every time I change something I have to flash 2 ESP32 with the new image and copy/paste my code into the repl. Since my tests include writing data on one ESP32 and checking, that the second ESP32 received the data, I can't just create a test script, because the ESP32s have to wait on each other and compare, that the received data is the same that was sent.
I know https://robotframework.org/ which is not bad, but I have to write a lot of code by myself to use it. Does anyone has a better Idea? How do you test your code, if it involves more than one ESP32?
Best regards,
Tobias