Can i for rerun all tests again?

I’m refactoring my code and want to make sure all the tests run correctly again before moving onto the next exercise.

Is there any way to do this? It looks like codecrafters test only tests the next?
I’m hoping for something like codecrafters test --all or something similar?

it looks like it just runs the latest test on my end. wondering if there’s a way to do this though

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 :slight_smile: Related: Ability to run tests for previous stages