Skip to content

Commit 46614cf

Browse files
committed
Update test runner to use unit test files and make test scripts executable
Make test runner search in the unit/ subdirectory and ensure test scripts are executable for better test suite organization and reliability.
1 parent 1a6f687 commit 46614cf

File tree

4 files changed

+2
-2
lines changed

4 files changed

+2
-2
lines changed

test/test_runner.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ TEST_NUMBER=0
1515
echo "TAP version 13"
1616

1717
# Find all consolidated test files (we now have one file per CLI tool)
18-
test_files=("$TEST_DIR"/test_*.sh)
18+
test_files=("$TEST_DIR"/unit/test_*.sh)
1919
total_test_files=${#test_files[@]}
2020
echo "1..$total_test_files"
2121

@@ -59,4 +59,4 @@ if [ $TESTS_FAILED -gt 0 ]; then
5959
exit 1
6060
fi
6161

62-
exit 0
62+
exit 0

test/unit/test_apply_md.sh

100644100755
File mode changed.

test/unit/test_context.sh

100644100755
File mode changed.

test/unit/test_git_context.sh

100644100755
File mode changed.

0 commit comments

Comments
 (0)