aboutsummaryrefslogtreecommitdiff
path: root/tests/_rt_boilerplate.sh
blob: 22a2688e3b3f0eeee9beaf7230d73ac67d9b6c79 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/usr/bin/env bash
here="$(dirname ${BASH_SOURCE[0]})"
source $here/setup.sh

TEST_NAME=

#test_fails() {
#    return 1
#}
#
#test_passes() {
#    return 0
#}
#
#test_skips() {
#    return 127
#}

setup_workspace "$TEST_NAME"

#run_command test_fails
#run_command test_passes
#run_command test_skips
#run_command false  # fails
#run_command true   # passes

teardown_workspace "$TEST_NAME"