mardi 9 février 2016

logging while running `cargo test`

#[macro_use]
extern crate log;

fn whatever() {
    info!("whatever")
}

#[test]
fn test() {
    whatever();
}

I want to see the log after running unit tests (cargo test), how is it possible now?

Aucun commentaire:

Enregistrer un commentaire