We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 139029c commit 5dadaf0Copy full SHA for 5dadaf0
test/test-manager/src/main.rs
@@ -59,6 +59,9 @@ enum Commands {
59
keep_changes: bool,
60
},
61
62
+ /// List all tests and their priority.
63
+ ListTests,
64
+
65
/// Spawn a runner instance and run tests
66
RunTests {
67
/// Name of the runner config
@@ -198,6 +201,17 @@ async fn main() -> Result<()> {
198
201
199
202
Ok(())
200
203
}
204
+ Commands::ListTests => {
205
+ println!("priority\tname");
206
+ for test in tests::get_tests() {
207
+ println!(
208
+ "{priority:8}\t{name}",
209
+ name = test.name,
210
+ priority = test.priority.unwrap_or(0),
211
+ );
212
+ }
213
+ Ok(())
214
215
Commands::RunTests {
216
name,
217
display,
0 commit comments