
A simple testing library for bash scripts. Test your bash scripts in the fastest and simplest way, discover the most modern bash testing library.
GitHub
Joined September 2023
- Tweets498
- Following454
- Followers264
- Likes1.4K
Turning frustrations into tools for better development chemaclass.com/blog/bashunit… by @Chemaclass
By default, #bashunit derives the name shown in reports from the test function name. If you need a more descriptive title, you can override it inside the test using `set_test_title` github.com/TypedDevs/bashuni…
4
49
Runs a command capturing its exit status, standard output, and standard error, and checks all provided expectations: github.com/TypedDevs/bashuni…
🚀 Upgrade to #bashunit 0.20.0 for a faster, smarter Bash testing experience!
📦 github.com/TypedDevs/bashuni…
💡 Pro tip: run `bashunit --upgrade` to get the latest version instantly.
🙌 Feedback and contributions always welcome!
🎨 `assert_match_snapshot_ignore_colors` is here!
Validate CLI output without worrying about ANSI colors.
1
2
33
🎯 New assertions for test doubles:
- `assert_not_called` to ensure no call
- Indexed `assert_have_been_called_with` for precise checks
1
2
24
🔧 New: Argument interpolation in test names!
Use # data_provider + placeholders like ::1::, ::2:: to auto-expand test names.
1
2
26











