bashunit icon indicating copy to clipboard operation
bashunit copied to clipboard

Test your bash scripts in the fastest and simplest way, discover the most modern bash testing framework.

Results 57 bashunit issues
Sort by recently updated
recently updated
newest added

while looking at https://github.com/TypedDevs/bashunit/pull/279 I got the idea that bashunit could benefit from a github action log format. this means errors can show up in the "Files Changed"-tab of a...

enhancement

| Q | A | |------------------|-------------------------| | OS | macOS / Linux / Windows | | Shell | bash | | bashunit version | 0.12.0 | #### Summary Discovered: https://github.com/TypedDevs/bashunit/pull/266#issuecomment-2176591645...

bug

When you use providers, the name of the test is printed next to the data used as argument of the provider. For example: ![Screenshot 2024-05-20 at 13 22 10](https://github.com/TypedDevs/bashunit/assets/5256287/3fd03d96-f4b0-4714-bfc9-88c71846a2f7) >...

enhancement

## 🔖 Changes - Improved `temp_file` and `temp_dir` - Call `cleanup_temp_files` at the end of bashunit > `main::exec()` - Use `temp_file` instead of `mktemp` for better cleanup ## ✅ To-do...

refactoring

## 🔖 Changes This is a WIP experiment. I am still not sure how do I want to display the progress of the running testsuite. It might be with a...

enhancement

## 📚 Description Closes: https://github.com/TypedDevs/bashunit/issues/339 ## 🔖 Changes - WIP ## ✅ To-do list - [ ] I updated the `CHANGELOG.md` to reflect the new feature or fix - [...

enhancement

Related: https://github.com/TypedDevs/bashunit/pull/336#issuecomment-2379006750 Enable running an additional assertion over the generated output from `assert_exit_code` ([docs](https://bashunit.typeddevs.com/assertions#assert-exit-code)). ### Example 1 ```bash bashunit -a exit_code "1" "the_command" -a contains "some error" ``` Would be...

enhancement

| Q | A | |------------------|-------------------------| | OS | Ubuntu 20.04.4 LTS | | Shell | bash | | bashunit version | 0.14.0 | #### Summary Using data provider to...

enhancement

| Q | A | |------------------|-------------------------| | OS | macOS vs. Linux | | Shell | sh / bash / ... | | bashunit version | 0.15.0 | #### Summary...

bug

Hi, I have this and it doesnt work. Is this supported? ```sh mock create_remote_time_entries "echo 'Date range: 2025-03-29 to 2025-03-29'" result="$(run)" assert_have_been_called_with 'create_remote_time_entries' '2023-10-01' ```

bug