Can i test a previous stage?

Is there a way, i can test a specific previous stage?

@akshat1998 whenever you pass a stage, we do run tests for all previous stages - does that help?

At the moment there’s no way to trigger tests for earlier stages on-demand if you’re failing the current stage.

2 Likes

@rohitpaulk , yes that is helpful.
I refactored code, and wanted to test for existing passed stages, and it was testing for the next stage (the current unlocked). Because the first test is for the current stage and then for previous stages test, run i got confused.

But since, previous stages tests also run later, it helped.
Thanks.

2 Likes

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.

For anyone stumbling upon this, we now support codecrafters test --previous: Codecrafters test --previous is now available!