1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-11-17 11:42:33 +01:00
bats/test/test_helper.bash

12 lines
164 B
Bash
Raw Normal View History

fixtures() {
FIXTURE_ROOT="$BATS_TEST_DIRNAME/fixtures/$1"
}
setup() {
export TMP="$BATS_TEST_DIRNAME/tmp"
}
teardown() {
2014-06-02 03:21:14 +02:00
[ -d "$TMP" ] && rm -f "$TMP"/*
}