PlatformIO Community

Testing over OTA


I have the following setup:

  • an embedded test that on Setup establishes a WifiConnection and OTA handling
  • some tests
  • one esp8266
  • one pio agent

What I want:
To trigger tests with the PIO Test Client over OTA and get the results.
Platformio setup:
platform =
board = nodemcuv2
framework = arduino
test_filter = embedded
upload_protocol = espota
upload_port = my_ip

When I run the tests the message is that i need to specify test_port, but I couldn’t find any viablie solution.

Did anyone tried something like this?

Good use case. Currently, PIO Unified Debugger uses PySerial for communication with a target device. Could you try this hook, setting test_port to ?