espressif / pytest-embedded

A pytest plugin that designed for embedded testing
https://docs.espressif.com/projects/pytest-embedded/en/latest/
MIT License
93 stars 26 forks source link

feat: added interrupt if one of the test was failed and ability to data transfer with signal (RDT-593) #242

Closed horw closed 11 months ago

horw commented 11 months ago
  1. If one test case fails, call for an interruption to stop other tests, with the message: "Some of the DUTs failed, so this DUT was interrupted."
  2. The ability to send data to other DUTs with a signal, like [Signal Name][Signal data].
horw commented 11 months ago

@hfudev, I investigated the testcase name, such as "test ROC and Offchannel Action Frame Tx [dut-0]," and then I have a small question. Is it important to include [dut-0] in the name? If the file name contains "dut-X," can I simply skip it, or will it break something?

https://github.com/espressif/pytest-embedded/blob/a10154665a28d3819f4460c2e346ff14a2d7e71a/pytest-embedded/pytest_embedded/unity.py#L278C17-L278C17

hfudev commented 11 months ago

@hfudev, I investigated the testcase name, such as "test ROC and Offchannel Action Frame Tx [dut-0]," and then I have a small question. Is it important to include [dut-0] in the name? If the file name contains "dut-X," can I simply skip it, or will it break something?

a101546/pytest-embedded/pytest_embedded/unity.py#L278C17-L278C17

The test case name should be test ROC and Offchannel Action Frame Tx

horw commented 11 months ago

@hfudev I have updated tests asserts, please take a look

hfudev commented 11 months ago

LGTM!