aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Hunkeler <jhunkeler@gmail.com>2024-10-30 11:33:38 -0400
committerJoseph Hunkeler <jhunkeler@gmail.com>2024-10-30 11:33:38 -0400
commitaee3c2d4089cfab235eaa66665ddf7dee76b2933 (patch)
treef223a2800b9fe6e64445e4d041b07bb2846114e4
parentcaa444b44f1ce1974bd9f46c68e45ff26d251bdf (diff)
downloadstasis-aee3c2d4089cfab235eaa66665ddf7dee76b2933.tar.gz
Add RT boilerplate
-rw-r--r--tests/_rt_boilerplate.sh27
1 files changed, 27 insertions, 0 deletions
diff --git a/tests/_rt_boilerplate.sh b/tests/_rt_boilerplate.sh
new file mode 100644
index 0000000..22a2688
--- /dev/null
+++ b/tests/_rt_boilerplate.sh
@@ -0,0 +1,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" \ No newline at end of file