16 lines
403 B
Bash
Raw Normal View History

common_setup() {
bats_require_minimum_version 1.12.0
load test_helper/bats-support/load
load test_helper/bats-assert/load
LIB_SRC="$(realpath "${BATS_TEST_DIRNAME}/../src")"
TEST_OUTPUTS="$(realpath "${BATS_TEST_DIRNAME}/../test_outputs")"
export LIB_SRC TEST_OUTPUTS
2025-06-23 11:28:52 -03:00
# shellcheck source=./src/utils.bash
source "${LIB_SRC}/utils.bash"
}
clean_outputs() {
rm -rf "${TEST_OUTPUTS}"
}