diff --git a/example-bashunit/install.sh b/example-bashunit/install.sh index 53a447e..b839f89 100755 --- a/example-bashunit/install.sh +++ b/example-bashunit/install.sh @@ -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 diff --git a/readme.md b/readme.md index 03a63e2..2f74d96 100644 --- a/readme.md +++ b/readme.md @@ -32,21 +32,21 @@ testing framework to a local directory, then execute `test.sh` to start the suit |------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------|----------------------------------------------------------------------------|---------------------------------------------------------------------|-----------------------------------------| | Discover and run all tests
in the project | ✔️ | ✔️ | ❌ [?](example-shunit2#test-discovery) | ⚠ [?](example-bash_unit#test-discovery) | ✔️ [?](example-shellspec#test-discovery) | ✔️ | | Run subset of tests or
a specific test | ✔️ | ✔️ [?](example-bats#test-discovery) | ⚠ [?](example-shunit2#test-discovery) | ✔️ | ✔️ | ❌ [issue](https://github.com/rylnd/shpec/issues/31) | -| Parallel test execution | ❌ | ✔️ | ❌ | ❌ | ✔️ | ❌ | +| Parallel test execution | ✔️ | ✔️ | ❌ | ❌ | ✔️ | ❌ | | Skip or ignore tests | ✔️ | ✔️ | ⚠ [?](example-shunit2#skip-tests) | ✔️ [?](example-bash_unit#skip-tests) | ✔️ | ❌ [issue](https://github.com/rylnd/shpec/issues/57) | | Rich assertion library | ✔️ | ⚠ [?](example-bats#assertions) | ⚠ [?](example-shunit2#assertions) | ⚠ [?](example-bash_unit#assertions) | ✔️ [?](example-shellspec#assertions) | ✔️ [?](example-shpec#assertions) | | Extensible with custom assertions | ✔️ | ✔️ [?](example-bats#custom-assertions) | ✔️ [?](example-shunit2#custom-assertions) | ✔️ [?](example-bash_unit#custom-assertions) | ✔️ [?](example-shellspec#custom-assertions) | ✔️ [?](example-shpec#custom-assertions) | | Before / After | ✔️ | ✔️ | ⚠ [issue](https://github.com/kward/shunit2/issues/112) | ✔️ | ✔️ | ❌ [issue](https://github.com/rylnd/shpec/issues/52) | | BeforeAll / AfterAll | ✔️ | ❌ [issue](example-bats#test-discovery) | ⚠ [issue](https://github.com/kward/shunit2/issues/112) | ✔️ | ✔️ [?](example-shellspec#test-format) | ❌ [issue](https://github.com/rylnd/shpec/issues/52) | | Parameterized tests
and test data | ✔️ | ❌ [issue](https://github.com/sstephenson/bats/issues/136) | ❌ | ❌ | ✔️ | ❌ | -| Mocking \* | ⚠ [issue](https://github.com/TypedDevs/bashunit/pull/232) | ✔️ [?](example-bats#mocking) | ⚠ [?](example-shunit2#mocking) | ✔️ [?](example-bash_unit#mocking) | ✔️ [?](example-shellspec#mocking) | ✔️ [?](example-shpec#mocking) | +| Mocking \* | ✔️ | ✔️ [?](example-bats#mocking) | ⚠ [?](example-shunit2#mocking) | ✔️ [?](example-bash_unit#mocking) | ✔️ [?](example-shellspec#mocking) | ✔️ [?](example-shpec#mocking) | | Isolation between tests \*\* | ✔️ | ✔️ [doc](https://github.com/bats-core/bats-core/wiki/Bats-Evaluation-Process) | ❌ | ✔️ | ✔️ | | | Nice local report | ✔️ | ⚠ [?](example-bats#report) | ✔️ | ✔️ | ✔️ | ✔️ | -| CI compatible report | ⚠ | ✔️ [TAP](http://testanything.org/) | ❌ [issue](https://github.com/kward/shunit2/issues/31) | ✔️ [TAP](http://testanything.org/) | ✔️ [TAP](http://testanything.org/) | ❌ | +| CI compatible report | ✔️ | ✔️ [TAP](http://testanything.org/) | ❌ [issue](https://github.com/kward/shunit2/issues/31) | ✔️ [TAP](http://testanything.org/) | ✔️ [TAP](http://testanything.org/) | ❌ | | Zero Dependency and
implemented in Bash \*\*\* | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | Easy to install \*\*\*\* | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | | Tests written in Bash | ✔️ | ⚠ [almost](example-bats#test-format) | ✔️ | ✔️ | ❌ [?](example-shellspec#test-format) | ❌ [?](example-shpec#test-format) | -| Compatible with the
Unofficial Bash Strict Mode \*\*\*\*\* | ⚠ | ✔️| ⚠ [?](https://github.com/dodie/testing-in-bash/tree/master/example-bats#unit-testing-scripts-that-set-bash-options) | ✔️ | ⚠ [issue](https://github.com/pgrange/bash_unit/issues/61) | ✔️ | | +| Compatible with the
Unofficial Bash Strict Mode \*\*\*\*\* | ✔️ | ✔️| ⚠ [?](https://github.com/dodie/testing-in-bash/tree/master/example-bats#unit-testing-scripts-that-set-bash-options) | ✔️ | ⚠ [issue](https://github.com/pgrange/bash_unit/issues/61) | ✔️ | | | Maintained | ✔️ | ⚠ [?](example-bats#activity) | ⚠ [?](example-shunit2#activity) | ✔️ [?](example-bash_unit#activity) | ✔️ [?](example-shellspec#activity) | ⚠ [?](example-shpec#activity) | | Mature | ❌ [since 2023](https://github.com/TypedDevs/bashunit/releases) | ✔️ [since 2011](https://github.com/bats-core/bats-core/releases) | ✔️ [since 2007](https://github.com/kward/shunit2/commits/master?after=0f0a77b6b257f24d2b3ef1b28096fdd154a19f22+10) | ✔️ [since 2016](https://github.com/pgrange/bash_unit/releases) | ❌ [since 2019](https://github.com/shellspec/shellspec/releases) | ✔️ [since 2013](https://github.com/rylnd/shpec/releases) | | Good documentation | ✔️ [?](https://bashunit.typeddevs.com) | ⚠ [?](example-bats#documentation) | ✔️ [?](example-shunit2#documentation) | ✔️ [?](example-bash_unit#documentation) | ✔️ [?](example-shellspec#documentation) | ✔️ [?](example-shpec#documentation) |