1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-09-29 12:38:26 +02:00
bats/test/test_helper.bash
2014-06-01 20:21:14 -05:00

12 lines
164 B
Bash

fixtures() {
FIXTURE_ROOT="$BATS_TEST_DIRNAME/fixtures/$1"
}
setup() {
export TMP="$BATS_TEST_DIRNAME/tmp"
}
teardown() {
[ -d "$TMP" ] && rm -f "$TMP"/*
}