Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion example-bashunit/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
# More details about bashunit installation #
# see: https://bashunit.typeddevs.com/installation #
####################################################
curl -s https://bashunit.typeddevs.com/install.sh | bash -s lib 0.11.0
curl -s https://bashunit.typeddevs.com/install.sh | bash -s lib 0.23.0
8 changes: 4 additions & 4 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,21 +32,21 @@ testing framework to a local directory, then execute `test.sh` to start the suit
|------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|----------------------------------------------------------------------------|---------------------------------------------------------------------|-----------------------------------------|
| Discover and run all tests<br/>in the project | ✔️ | ✔️ | ❌ [<sup>?</sup>](example-shunit2#test-discovery) | ⚠ [<sup>?</sup>](example-bash_unit#test-discovery) | ✔️ [<sup>?</sup>](example-shellspec#test-discovery) | ✔️ |
| Run subset of tests or<br/>a specific test | ✔️ | ✔️ [<sup>?</sup>](example-bats#test-discovery) | ⚠ [<sup>?</sup>](example-shunit2#test-discovery) | ✔️ | ✔️ | ❌ [<sup>issue</sup>](https://github.com/rylnd/shpec/issues/31) |
| Parallel test execution | | ✔️ | ❌ | ❌ | ✔️ | ❌ |
| Parallel test execution | ✔️ | ✔️ | ❌ | ❌ | ✔️ | ❌ |
| Skip or ignore tests | ✔️ | ✔️ | ⚠ [<sup>?</sup>](example-shunit2#skip-tests) | ✔️ [<sup>?</sup>](example-bash_unit#skip-tests) | ✔️ | ❌ [<sup>issue</sup>](https://github.com/rylnd/shpec/issues/57) |
| Rich assertion library | ✔️ | ⚠ [<sup>?</sup>](example-bats#assertions) | ⚠ [<sup>?</sup>](example-shunit2#assertions) | ⚠ [<sup>?</sup>](example-bash_unit#assertions) | ✔️ [<sup>?</sup>](example-shellspec#assertions) | ✔️ [<sup>?</sup>](example-shpec#assertions) |
| Extensible with custom assertions | ✔️ | ✔️ [<sup>?</sup>](example-bats#custom-assertions) | ✔️ [<sup>?</sup>](example-shunit2#custom-assertions) | ✔️ [<sup>?</sup>](example-bash_unit#custom-assertions) | ✔️ [<sup>?</sup>](example-shellspec#custom-assertions) | ✔️ [<sup>?</sup>](example-shpec#custom-assertions) |
| Before / After | ✔️ | ✔️ | ⚠ [<sup>issue</sup>](https://github.com/kward/shunit2/issues/112) | ✔️ | ✔️ | ❌ [<sup>issue</sup>](https://github.com/rylnd/shpec/issues/52) |
| BeforeAll / AfterAll | ✔️ | ❌ [<sup>issue</sup>](example-bats#test-discovery) | ⚠ [<sup>issue</sup>](https://github.com/kward/shunit2/issues/112) | ✔️ | ✔️ [<sup>?</sup>](example-shellspec#test-format) | ❌ [<sup>issue</sup>](https://github.com/rylnd/shpec/issues/52) |
| Parameterized tests<br/>and test data | ✔️ | ❌ [<sup>issue</sup>](https://github.com/sstephenson/bats/issues/136) | ❌ | ❌ | ✔️ | ❌ |
| Mocking \* | ⚠ [<sup>issue</sup>](https://github.com/TypedDevs/bashunit/pull/232) | ✔️ [<sup>?</sup>](example-bats#mocking) | ⚠ [<sup>?</sup>](example-shunit2#mocking) | ✔️ [<sup>?</sup>](example-bash_unit#mocking) | ✔️ [<sup>?</sup>](example-shellspec#mocking) | ✔️ [<sup>?</sup>](example-shpec#mocking) |
| Mocking \* | ✔️ | ✔️ [<sup>?</sup>](example-bats#mocking) | ⚠ [<sup>?</sup>](example-shunit2#mocking) | ✔️ [<sup>?</sup>](example-bash_unit#mocking) | ✔️ [<sup>?</sup>](example-shellspec#mocking) | ✔️ [<sup>?</sup>](example-shpec#mocking) |
| Isolation between tests \*\* | ✔️ | ✔️ [<sup>doc</sup>](https://github.com/bats-core/bats-core/wiki/Bats-Evaluation-Process) | ❌ | ✔️ | ✔️ | |
| Nice local report | ✔️ | ⚠ [<sup>?</sup>](example-bats#report) | ✔️ | ✔️ | ✔️ | ✔️ |
| CI compatible report | | ✔️ [<sup>TAP</sup>](http://testanything.org/) | ❌ [<sup>issue</sup>](https://github.com/kward/shunit2/issues/31) | ✔️ [<sup>TAP</sup>](http://testanything.org/) | ✔️ [<sup>TAP</sup>](http://testanything.org/) | ❌ |
| CI compatible report | ✔️ | ✔️ [<sup>TAP</sup>](http://testanything.org/) | ❌ [<sup>issue</sup>](https://github.com/kward/shunit2/issues/31) | ✔️ [<sup>TAP</sup>](http://testanything.org/) | ✔️ [<sup>TAP</sup>](http://testanything.org/) | ❌ |
| Zero Dependency and<br/>implemented in Bash \*\*\* | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
| Easy to install \*\*\*\* | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
| Tests written in Bash | ✔️ | ⚠ [<sup>almost</sup>](example-bats#test-format) | ✔️ | ✔️ | ❌ [<sup>?</sup>](example-shellspec#test-format) | ❌ [<sup>?</sup>](example-shpec#test-format) |
| Compatible with the <br/>Unofficial Bash Strict Mode \*\*\*\*\* | | ✔️| ⚠ [<sup>?</sup>](https://github.com/dodie/testing-in-bash/tree/master/example-bats#unit-testing-scripts-that-set-bash-options) | ✔️ | ⚠ [<sup>issue</sup>](https://github.com/pgrange/bash_unit/issues/61) | ✔️ | |
| Compatible with the <br/>Unofficial Bash Strict Mode \*\*\*\*\* | ✔️ | ✔️| ⚠ [<sup>?</sup>](https://github.com/dodie/testing-in-bash/tree/master/example-bats#unit-testing-scripts-that-set-bash-options) | ✔️ | ⚠ [<sup>issue</sup>](https://github.com/pgrange/bash_unit/issues/61) | ✔️ | |
| Maintained | ✔️ | ⚠ [<sup>?</sup>](example-bats#activity) | ⚠ [<sup>?</sup>](example-shunit2#activity) | ✔️ [<sup>?</sup>](example-bash_unit#activity) | ✔️ [<sup>?</sup>](example-shellspec#activity) | ⚠ [<sup>?</sup>](example-shpec#activity) |
| Mature | ❌ [<sup>since 2023</sup>](https://github.com/TypedDevs/bashunit/releases) | ✔️ [<sup>since 2011</sup>](https://github.com/bats-core/bats-core/releases) | ✔️ [<sup>since 2007</sup>](https://github.com/kward/shunit2/commits/master?after=0f0a77b6b257f24d2b3ef1b28096fdd154a19f22+10) | ✔️ [<sup>since 2016</sup>](https://github.com/pgrange/bash_unit/releases) | ❌ [<sup>since 2019</sup>](https://github.com/shellspec/shellspec/releases) | ✔️ [<sup>since 2013</sup>](https://github.com/rylnd/shpec/releases) |
| Good documentation | ✔️ [<sup>?</sup>](https://bashunit.typeddevs.com) | ⚠ [<sup>?</sup>](example-bats#documentation) | ✔️ [<sup>?</sup>](example-shunit2#documentation) | ✔️ [<sup>?</sup>](example-bash_unit#documentation) | ✔️ [<sup>?</sup>](example-shellspec#documentation) | ✔️ [<sup>?</sup>](example-shpec#documentation) |
Expand Down