Skip to content

prerunmodifier does not return failed tests preventing rerun of tests #100

Open
@philipp2023

Description

@philipp2023

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions