cargo-testify icon indicating copy to clipboard operation
cargo-testify copied to clipboard

Build output not colorized

Open waywardmonkeys opened this issue 7 years ago • 3 comments

When using cargo testify on macOS (at least), the build output lacks the colorization that is typically present in a cargo test run.

waywardmonkeys avatar Sep 04 '17 09:09 waywardmonkeys

That's the issue I could not figure out how to solve: https://github.com/greyblake/cargo-testify/blob/master/src/reactor.rs#L71

I can use Command.spawn to preserve color output, but then I can not intercept stdout and stderr to fetch notification details. Any help here is welcome.

greyblake avatar Sep 04 '17 18:09 greyblake

does running testify with -- --color always improve the situation?

allenbenz avatar Sep 26 '17 00:09 allenbenz

Running with --color always partially helps. It shows bold, but not green nor red.

greyblake avatar Sep 27 '17 22:09 greyblake