-
-
Notifications
You must be signed in to change notification settings - Fork 105
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
incremental test run #174
Comments
Thanks for the request! Hmmm, this is a really interesting idea. So basically examine the set of test binaries that were rebuilt, and run tests for just those binaries. I've been thinking about this for a little while and I have some concerns about this. The main one is that if a test run is cancelled due to a failing test, or you Ctrl-C in the middle of a test run, rerunning the previous command will result in no tests being run. This feels like it severely breaks user expectations in a way that makes me really uncomfortable. I've implemented a more complex version of the idea that compares the source code across two revisions -- this has the advantage of not requiring the previous version of the source built (and so being better for CI), and also avoiding the main pitfall above. I'd like to spend some time adding this to nextest soon. I think if we do decide to implement this, it would be a good fit for filter expressions as a |
I thought about calling But if there is Thanks for mention and creation of |
@davemilter so your plan was to run |
Related issue I posted to the cargo repo rust-lang/cargo#10673 |
ocaml/dune does this ocaml/dune#4390 (comment) |
May be I missed something, but I can non find any mention for this.
It would be nice to get from
cargo
list of crates that would be rebuiltby
cargo build
, and then run tests only for affected crates in workspace.The text was updated successfully, but these errors were encountered: