robotframework: Make `--test` and `--include` non-cumulative again due to backwards incompatibility problems
robot --rerunfailed output.xml until robot version 6 picks up tests that had been failed in previous run. However, robot 7 just reruns all suite, both failed and passed tests
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (11 by maintainers)
I hopefully get other open issues in RF 7.0.1 done soon and will then create a release candidate with all the fixes. I hope you can test it when it’s available to make sure the behavior with
--test,--includeand--rerunfailedis as expected also in your environment.The old behavior will be restored. There weren’t that much benefits with #4721, so it’s better to revert that than try to fix
--rerunfailedotherwise. This fixes similar issues reported, for example, with Pabot as well.@pekkaklarck our test with RF 7.0.1 rc1 was successful as well.
Tested scenario with --rerunfailed and --include (and also --exclude and --test ) with RF 7.0.1 rc1 and works fine for me. Thanks for fixing this issue!
RF 7.0.1 rc 1 with this fix has just been released. It would be great if you could test does the fix work properly before the final release that’s targeted for Monday June 10.
Just chiming in that we are experiencing this issue as well and would like to see the previous behavior reinstated. Regardless of --include/–exclude the tests are not failed and should not be rerun.
We need to make a decision about this. Adding to RF 7.0.1 scope so we don’t forget about it.