Skip to content

Start running tests from last failed ones #12263

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
whiteand opened this issue Jun 13, 2023 · 4 comments
Closed

Start running tests from last failed ones #12263

whiteand opened this issue Jun 13, 2023 · 4 comments
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-test S-triage Status: This issue is waiting on initial triage.

Comments

@whiteand
Copy link

whiteand commented Jun 13, 2023

Problem

When I run cargo test it is possible that several different tests are failed. And rerunning all tests after some fix can be time consuming. Because all not failed tests are rerun.

Proposed Solution

To somehow cache which tests were failed previously and start execution of next cargo test from failed ones. Something like in jest

Notes

No response

@whiteand whiteand added C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` S-triage Status: This issue is waiting on initial triage. labels Jun 13, 2023
@epage
Copy link
Contributor

epage commented Jun 13, 2023

I believe this is a subset of #6266

@ehuss
Copy link
Contributor

ehuss commented Jun 13, 2023

This sounds like a duplicate of #10673 to me?

@whiteand
Copy link
Author

@epage You are right, I will closed thsi issue

@whiteand
Copy link
Author

This is a duplicate of #6266. And the described problem can also be fixed if #10673 will be implemented.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-feature-request Category: proposal for a feature. Before PR, ping rust-lang/cargo if this is not `Feature accepted` Command-test S-triage Status: This issue is waiting on initial triage.
Projects
None yet
Development

No branches or pull requests

3 participants