# Also passed test's are rerun

**URL:** <https://forum.robotframework.org/t/also-passed-tests-are-rerun/6523>\
**Category:** Robot Framework\
**Created:** [30 November 2023 06:35 UTC](https://forum.robotframework.org/t/also-passed-tests-are-rerun/6523 "2023-11-30T06:35:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrr\_robot](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mrr\_robot](https://forum.robotframework.org/u/mrr_robot)\
**Post date:** [30 November 2023 06:35 UTC](https://forum.robotframework.org/t/also-passed-tests-are-rerun/6523/1 "2023-11-30T06:35:13Z")

</div>

I have this .bat and trying to rerun failed test’s

cd C:\Users\Robot  
robot --output original.xml -d C:\tema/RESULTS\_D\_runresulta\_a --variable BROWSER\_SELECTED:firefox --include TEST .  
robot – **rerunfailed** original.xml -d C:\tema/RESULTS\_D\_runresulta\_a --output rerun.xml --variable BROWSER\_SELECTED:firefox --include TEST .  
rebot --outputdir C:\tema/RESULTS\_D\_runresulta\_a --merge C:\tema/RESULTS\_D\_runresulta\_a/original.xml C:\tema/RESULTS\_D\_runresulta\_a/rerun.xml

What could be the problem when also passed test’s are re-run?

## Test has been re-executed and results merged.

New status: PASS

* * *

Old status: PASS

---

<div class="post-metadata">

**Author:** ![JaPyR](https://dub1.discourse-cdn.com/flex005/user_avatar/forum.robotframework.org/japyr/32/756_2.png) [@JaPyR](https://forum.robotframework.org/u/JaPyR)\
**Post date:** [1 December 2023 08:43 UTC](https://forum.robotframework.org/t/also-passed-tests-are-rerun/6523/2 "2023-12-01T08:43:26Z")

</div>

I believe it’s due to the fact that you also specify `--include` option during rerun.

---

<div class="post-metadata">

**Author:** ![mrr\_robot](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@mrr\_robot](https://forum.robotframework.org/u/mrr_robot)\
**Post date:** [1 December 2023 09:57 UTC](https://forum.robotframework.org/t/also-passed-tests-are-rerun/6523/3 "2023-12-01T09:57:45Z")

</div>

Hi. Thank you for your answer. I will try to remove it from rerun task and see if it help. Thanks!
