mirror of
https://gitlab.cern.ch/wotsubo/psboard-qaqc-postprocess.git
synced 2025-07-01 17:19:29 +09:00
add: check-db command & add-skew command protoptype
This commit is contained in:
parent
e856f1575a
commit
fb11f18bbb
3 changed files with 39 additions and 11 deletions
10
tests/cli.rs
10
tests/cli.rs
|
@ -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(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue