robotframework-datadriver icon indicating copy to clipboard operation
robotframework-datadriver copied to clipboard

prerunmodifier does not return failed tests preventing rerun of tests

Open philipp2023 opened this issue 1 year ago • 0 comments

prerunmodifier does not return failed tests if output.xml contains more than one failed test and at least one skipped test. Thus rerun is not executed, despite there are failed tests.

Steps to reproduce

  1. Run suite containing 2 or more failing tests and one test which is skipped. e.g. robot -d Reports --skip TAG_002 VariablesTest
  2. Rerun failed tests with robot -d Reports --skip TAG_002 --prerunmodifier DataDriver.rerunfailed:.\Reports\output.xml -L TRACE -o output_1.xml VariablesTest

Actual result No tests are added: image

Expected result Failed tests are added for rerun

Attached:

VariablesTest.csv output.zip

philipp2023 avatar Sep 18 '24 10:09 philipp2023