Skip to content
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

Incompatible with IntelliJ Rust #25

Closed
Dinnerbone opened this issue Jan 27, 2023 · 1 comment
Closed

Incompatible with IntelliJ Rust #25

Dinnerbone opened this issue Jan 27, 2023 · 1 comment

Comments

@Dinnerbone
Copy link

Dinnerbone commented Jan 27, 2023

When using IntelliJ Rust, cargo test is specialcased to add extra arguments to allow the IDE to parse the results. Unfortunately, these arguments aren't supported and so you can't run tests from inside the IDE if using libtest-mimic.

When running cargo test it actually adds: --format=json -Z unstable-options --show-output

  • --format=json is tracked by JSON output #1
  • -Z unstable-options Is used to enable --format=json
  • --show-output perhaps we should also just do nothing, since that's the current behaviour I believe?

Libtest --help output says:

    --show-output   Show captured stdout of successful tests             
-Z unstable-options Enable nightly-only flags:                           
                    unstable-options = Allow use of experimental features
@LukasKalbertodt
Copy link
Owner

This should be fixed by #35 and 70cdc55. If there are still problems, let me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants