MCPcopy Create free account
hub / github.com/apache/datafusion / cli_quick_test

Function cli_quick_test

datafusion-cli/tests/cli_integration.rs:162–174  ·  view source on GitHub ↗
(
    #[case] snapshot_name: &'a str,
    #[case] args: impl IntoIterator<Item = &'a str>,
)

Source from the content-addressed store, hash-verified

160)]
161#[test]
162fn cli_quick_test<'a>(
163 #[case] snapshot_name: &'a str,
164 #[case] args: impl IntoIterator<Item = &'a str>,
165) {
166 let mut settings = make_settings();
167 settings.set_snapshot_suffix(snapshot_name);
168 let _bound = settings.bind_to_scope();
169
170 let mut cmd = cli();
171 cmd.args(args);
172
173 assert_cmd_snapshot!(cmd);
174}
175
176#[test]
177fn cli_explain_environment_overrides() {

Callers

nothing calls this directly

Calls 3

make_settingsFunction · 0.70
cliFunction · 0.70
argsMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…