Skip to content

Conversation

@Chemaclass
Copy link
Member

@Chemaclass Chemaclass commented Jul 27, 2025

📚 Description

Currently, only *test.sh files with sh extension are loaded as test files. We should support also .bash extension.

Idea from @akinomyoga, thanks!

🔖 Changes

  • Extended file discovery now handles both “test.sh” and “test.bash” filenames, ensuring paths containing wildcards are correctly evaluated
  • Documentation reflects that bashunit searches for “test.sh” or “test.bash” files and recommends using either extension with wildcards
  • Help text clarifies that directories run all “test.sh” or “test.bash” files
  • New snapshots verify that directories and wildcards include “bash_test.bash” during test execution

✅ To-do list

  • I updated the CHANGELOG.md to reflect the new feature or fix
  • I updated the documentation to reflect the changes

@Chemaclass Chemaclass self-assigned this Jul 27, 2025
@Chemaclass Chemaclass added the enhancement New feature or request label Jul 27, 2025
@Chemaclass Chemaclass merged commit 1355b59 into main Jul 27, 2025
18 checks passed
@Chemaclass Chemaclass deleted the feat/support-bash-ext branch July 27, 2025 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants