josecelano / cargo-pretty-test

A Rust command that prettifies the ugly `cargo test` output into a beautiful one.
https://users.rust-lang.org/t/cargo-test-output-with-indentation/100149
135 stars 1 forks source link

Print out the current `cargo tests` output and the pretty version at the end #5

Open josecelano opened 11 months ago

josecelano commented 11 months ago

If the cargo test command test takes too long, you do not see anything until the command finishes. Besides I would like to have the normal output if tests fail.

Maybe we can print the normal output while we collect it and print the pretty version at the end. But I have not thought too much about it.

donovanglover commented 11 months ago

+1. The first time I ran cargo pretty-test I had to wait around a minute for the project to compile before it printed anything. Any sort of progress indicator like cargo test would be great.

zjp-CN commented 11 months ago

Draft PR https://github.com/josecelano/cargo-pretty-test/pull/28 forwards all the process from cargo test. But we're not sure it's a good idea to do it.