Skip to content

Commit

Permalink
Wrote a test that runs ska on the example file specifying auto for th…
Browse files Browse the repository at this point in the history
…e --min-count flag
  • Loading branch information
jhellewell14 committed Jan 22, 2025
1 parent 0c46767 commit d0095f9
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tests/fastq_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,3 +508,20 @@ fn cov_check() {
.assert()
.failure();
}

#[test]
fn build_auto_check() {
let sandbox = TestSetup::setup();

let rfile_name = sandbox.create_rfile("test", FxType::Fastq);
Command::new(cargo_bin("ska"))
.current_dir(sandbox.get_wd())
.arg("build")
.arg("-f")
.arg(rfile_name)
.arg("-o")
.arg("reads")
.args(["--min-count", "auto", "-v", "-k", "9", "--min-qual", "2"])
.assert()
.success();
}

0 comments on commit d0095f9

Please sign in to comment.