Skip to content

Commit

Permalink
[x] update nextest
Browse files Browse the repository at this point in the history
Adds a couple new features: JUnit reporting, and printing out failing
test results at the end.
  • Loading branch information
sunshowers authored and bors-libra committed Apr 2, 2021
1 parent 135f888 commit dcab6b6
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 12 deletions.
34 changes: 27 additions & 7 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions common/workspace-hack/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ regex = { version = "1.4.3", features = ["aho-corasick", "default", "memchr", "p
regex-syntax = { version = "0.6.23", features = ["default", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"] }
reqwest = { version = "0.11.2", features = ["__tls", "blocking", "default", "default-tls", "hyper-tls", "json", "native-tls", "native-tls-crate", "serde_json", "stream", "tokio-native-tls"] }
rusty-fork = { version = "0.3.0", features = ["default", "timeout", "wait-timeout"] }
serde = { version = "1.0.124", features = ["alloc", "default", "derive", "rc", "serde_derive", "std"] }
serde = { version = "1.0.125", features = ["alloc", "default", "derive", "rc", "serde_derive", "std"] }
serde_json = { version = "1.0.64", features = ["default", "indexmap", "preserve_order", "std"] }
standback = { version = "0.2.15", default-features = false, features = ["std"] }
subtle = { version = "2.4.0", default-features = false, features = ["std"] }
Expand Down Expand Up @@ -90,7 +90,7 @@ regex = { version = "1.4.3", features = ["aho-corasick", "default", "memchr", "p
regex-syntax = { version = "0.6.23", features = ["default", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"] }
reqwest = { version = "0.11.2", features = ["__tls", "blocking", "default", "default-tls", "hyper-tls", "json", "native-tls", "native-tls-crate", "serde_json", "stream", "tokio-native-tls"] }
rusty-fork = { version = "0.3.0", features = ["default", "timeout", "wait-timeout"] }
serde = { version = "1.0.124", features = ["alloc", "default", "derive", "rc", "serde_derive", "std"] }
serde = { version = "1.0.125", features = ["alloc", "default", "derive", "rc", "serde_derive", "std"] }
serde_json = { version = "1.0.64", features = ["default", "indexmap", "preserve_order", "std"] }
standback = { version = "0.2.15", default-features = false, features = ["std"] }
subtle = { version = "2.4.0", default-features = false, features = ["std"] }
Expand Down Expand Up @@ -136,7 +136,7 @@ regex = { version = "1.4.3", features = ["aho-corasick", "default", "memchr", "p
regex-syntax = { version = "0.6.23", features = ["default", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"] }
reqwest = { version = "0.11.2", features = ["__tls", "blocking", "default", "default-tls", "hyper-tls", "json", "native-tls", "native-tls-crate", "serde_json", "stream", "tokio-native-tls"] }
rusty-fork = { version = "0.3.0", features = ["default", "timeout", "wait-timeout"] }
serde = { version = "1.0.124", features = ["alloc", "default", "derive", "rc", "serde_derive", "std"] }
serde = { version = "1.0.125", features = ["alloc", "default", "derive", "rc", "serde_derive", "std"] }
serde_json = { version = "1.0.64", features = ["default", "indexmap", "preserve_order", "std"] }
standback = { version = "0.2.15", default-features = false, features = ["std"] }
subtle = { version = "2.4.0", default-features = false, features = ["std"] }
Expand Down Expand Up @@ -183,7 +183,7 @@ regex = { version = "1.4.3", features = ["aho-corasick", "default", "memchr", "p
regex-syntax = { version = "0.6.23", features = ["default", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"] }
reqwest = { version = "0.11.2", features = ["__tls", "blocking", "default", "default-tls", "hyper-tls", "json", "native-tls", "native-tls-crate", "serde_json", "stream", "tokio-native-tls"] }
rusty-fork = { version = "0.3.0", features = ["default", "timeout", "wait-timeout"] }
serde = { version = "1.0.124", features = ["alloc", "default", "derive", "rc", "serde_derive", "std"] }
serde = { version = "1.0.125", features = ["alloc", "default", "derive", "rc", "serde_derive", "std"] }
serde_json = { version = "1.0.64", features = ["default", "indexmap", "preserve_order", "std"] }
standback = { version = "0.2.15", default-features = false, features = ["std"] }
subtle = { version = "2.4.0", default-features = false, features = ["std"] }
Expand Down
2 changes: 1 addition & 1 deletion devtools/x/src/nextest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ pub fn run(args: Args, xctx: XContext) -> Result<()> {
Coloring::Always => Color::Always,
Coloring::Never => Color::Never,
};
let reporter = TestReporter::new(&test_list, color, args.reporter_opts);
let mut reporter = TestReporter::new(&test_list, color, args.reporter_opts);

let run_stats = runner.try_execute(|event| reporter.report_event(event))?;
if !run_stats.is_success() {
Expand Down

0 comments on commit dcab6b6

Please sign in to comment.