# Can i for rerun all tests again?

**URL:** <https://forum.codecrafters.io/t/can-i-for-rerun-all-tests-again/789>\
**Category:** Feature Requests\
**Created:** [June 21, 2024, 6:10am UTC](https://forum.codecrafters.io/t/can-i-for-rerun-all-tests-again/789 "2024-06-21T06:10:38Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![rohitpaulk](https://yyz1.discourse-cdn.com/flex003/user_avatar/forum.codecrafters.io/rohitpaulk/32/6_2.png) [@rohitpaulk](https://forum.codecrafters.io/u/rohitpaulk)\
**Post date:** [June 21, 2024, 11:35am UTC](https://forum.codecrafters.io/t/can-i-for-rerun-all-tests-again/789/4 "2024-06-21T11:35:58Z")

</div>

The way this works currently is that we run the current stage and all previous stages in descending order - if the current stage fails, we don’t get to running the previous tests. If the current stage passes, we run the previous ones until one of them fails (or all of them pass).

I totally understand the use-case though, we’re going to add `codecrafters test --previous` early next week 🙂 Related: [Ability to run tests for previous stages](https://forum.codecrafters.io/t/ability-to-run-tests-for-previous-stages/727)

---

_[View the full topic](https://forum.codecrafters.io/t/can-i-for-rerun-all-tests-again/789)._
