mirror of
https://github.com/jimeh/tmuxifier.git
synced 2026-02-19 01:46:40 +00:00
Basic setup for tests
Based on the test setup of stub.sh: https://github.com/jimeh/stub.sh
This commit is contained in:
8
test/test-helper.sh
Normal file
8
test/test-helper.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
[ -n "$TEST_DEBUG" ] && set -x
|
||||
|
||||
# Set testroot variable.
|
||||
testroot="$(dirname "$BASH_SOURCE")"
|
||||
|
||||
# Include assert.sh and stub.sh libraries.
|
||||
source "${testroot}/assert.sh"
|
||||
source "${testroot}/stub.sh"
|
||||
Reference in New Issue
Block a user