add: check-db command & add-skew command protoptype

This commit is contained in:
Wataru Otsubo 2024-07-21 21:23:32 +09:00
parent e856f1575a
commit fb11f18bbb
3 changed files with 39 additions and 11 deletions

View file

@ -6,7 +6,7 @@ mod integrated_test {
};
use anyhow::Result;
use assert_cmd::{assert::OutputAssertExt, Command};
use assert_cmd::Command;
use predicates::prelude::*;
#[test]
@ -42,6 +42,14 @@ mod integrated_test {
.assert()
.success();
// check
let mut cmd = Command::cargo_bin("psb-qaqc")?;
cmd.current_dir("tests")
.arg("check-db")
.arg(test_out.as_path())
.assert()
.success();
Ok(())
}