Skip to content

Commit

Permalink
adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
binaek committed Sep 21, 2023
1 parent 9695bbe commit 7c43631
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions tests/acceptance/test_files/check.bats
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,37 @@ load "$LIB_BATS_SUPPORT/load.bash"
cd -
}

@test "check all - export sps" {
cd $CONTROL_RENDERING_TEST_MOD
run steampipe check all --export sps --progress=false
assert_success
rm -f *.sps
}
@test "check all - export file.sps" {
cd $CONTROL_RENDERING_TEST_MOD
run steampipe check all --export file.sps --progress=false
assert_success
rm -f file.sps
}
@test "check single benchmark - export sps" {}
@test "check single benchmark - export file.sps" {}
@test "check multiple benchmark - export sps" {}
@test "check multiple benchmark - export file.sps" {}

@test "check all - export json" {}
@test "check all - export file.json" {}
@test "check single benchmark - export json" {}
@test "check single benchmark - export file.json" {}
@test "check multiple benchmark - export json" {}
@test "check multiple benchmark - export file.json" {}

@test "check all - export csv" {}
@test "check all - export file.csv" {}
@test "check single benchmark - export csv" {}
@test "check single benchmark - export file.csv" {}
@test "check multiple benchmark - export csv" {}
@test "check multiple benchmark - export file.csv" {}

## check search_path tests

#@test "steampipe check search_path_prefix when passed through command line" {
Expand Down

0 comments on commit 7c43631

Please sign in to comment.