- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 119
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
Using --runner nextest
with --test
results in an error about --doc
#317
Comments
I updated the above; it seems this does cause harm if there are any snapshots to review. |
I currently do not have the resources to fix this, but I believe it would be a rather straightforward change. If you print out the command that's being invoked in |
I might look into it, thanks for the pointer! I'd need to learn a bit more about the interface to |
The entire logic about how the command line is created is found in this one function: Line 739 in 8006453
|
Fixed in 1ae7bd2 |
Thank you very much! Sorry I didn't get to it. |
What happened?
Running
cargo insta test --test-runner nextest --test test_resolve_command
works, but leaves a error:The error is on the last line.
Update: It does cause harm: if there are any snapshots that changed, the command does not tell you about it.
Reproduction steps
cargo install cargo-insta cargo-nextest
(I havecargo-nextest 0.9.47
)test_resolve_command.rs
.cargo insta test --test-runner nextest --test test_resolve_command
cargo insta review
. (It does seem to work if executed manually)Insta Version
cargo-insta 1.23.0
rustc Version
rustc 1.67.0-beta.2 (352eb59a4 2022-12-13)
What did you expect?
No error at the end of the output, and a notification to review the changed snapshots.
The text was updated successfully, but these errors were encountered: