pytest-embedded-arduino

class pytest_embedded_arduino.app.ArduinoApp(**kwargs)

Bases: App

Arduino App class

sketch

Sketch name.

Type:

str

fqbn

Fully Qualified Board Name.

Type:

str

target

ESPxx chip.

Type:

str

flash_settings

Flash settings for the target.

Type:

dict[str, str]

binary_file

Merged binary file path.

Type:

str

elf_file

ELF file path.

Type:

str

class pytest_embedded_arduino.serial.ArduinoSerial(app: ArduinoApp, target: str | None = None, **kwargs)

Bases: EspSerial

Arduino serial Dut class

Auto flash the app while starting test.

SUGGEST_FLASH_BAUDRATE = 921600
flash() None

Flash the binary files to the board.