1
0
mirror of https://github.com/sstephenson/bats.git synced 2024-12-27 06:59:45 +01:00
bats/test/test_helper.bash

12 lines
147 B
Bash
Raw Normal View History

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