eclipse-corrosion / corrosion

Eclipse Corrosion - Rust edition in Eclipse IDE
Eclipse Public License 2.0
224 stars 31 forks source link

Use Cargo JSON test output for better reporting #349

Open mickaelistria opened 3 years ago

mickaelistria commented 3 years ago

See https://github.com/rust-lang/rust/issues/49359 Looks like cargo test -Z gives a lot of extra info to leverage here!

mickaelistria commented 3 years ago

Command to get richer output is cargo test -- -Z unstable-options --format json. However, it requires a recent version of cargo to run, and as it's unstable it's likely to change. We should wait for it to stabilize before relying on it.