diff --git a/tests/one.sh b/tests/one.sh new file mode 100755 index 0000000..9d207e3 --- /dev/null +++ b/tests/one.sh @@ -0,0 +1,20 @@ +#!/usr/bin/env bash +set -ueo pipefail + +SCRIPT_DIR=$(dirname $(readlink -f "$0")) +DB_FILE="${SCRIPT_DIR}/test.db" + +setUp() { + tag init "$DB_FILE" +} + +tearDown() { + [ -f "$DB_FILE" ] && rm "$DB_FILE" +} + + +testDbCreated() { + assertTrue "[[ -f \"$DB_FILE\" ]]" +} + +. ../../shunit2/shunit2 \ No newline at end of file