MCPcopy Create free account
hub / github.com/douglance/devsql / test_query_execution

Function test_query_execution

crates/vcsql/tests/cli.rs:96–105  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

94
95#[test]
96fn test_query_execution() {
97 let temp = create_test_repo();
98
99 let mut cmd = Command::new(env!("CARGO_BIN_EXE_vcsql"));
100 cmd.args(["--repo", temp.path().to_str().unwrap()])
101 .arg("SELECT short_id, summary FROM commits")
102 .assert()
103 .success()
104 .stdout(predicate::str::contains("Initial commit"));
105}
106
107#[test]
108fn test_json_output() {

Callers

nothing calls this directly

Calls 2

pathMethod · 0.80
create_test_repoFunction · 0.70

Tested by

no test coverage detected