test(refactor): switch to bashunit and start fleshing out a new test suite

This commit is contained in:
2025-12-02 01:15:42 +00:00
parent f268c12f3f
commit 2633722423
54 changed files with 8203 additions and 79 deletions

13
tests/bootstrap.sh Executable file
View File

@@ -0,0 +1,13 @@
#!/usr/bin/env bash
set -euo pipefail
# Place your common test setup here
# Resolve the project root directory
_test_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
_root_dir="$(cd "${_test_dir}/.." && pwd)"
# Set TMUXIFIER so libexec commands can find lib/util.sh
export TMUXIFIER="${_root_dir}"
# Add libexec to PATH so tmuxifier commands are available
export PATH="${_root_dir}/libexec:${PATH}"