shellspec
sharness
Our great sponsors
shellspec | sharness | |
---|---|---|
6 | 2 | |
1,017 | 375 | |
2.8% | - | |
0.0 | 5.6 | |
12 months ago | 10 days ago | |
Shell | Shell | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
shellspec
-
[P] Convert Any language to a Linux command (one-liner)
Suggest to look also at ShellSpec
-
Bash_unit – bash unit testing framework
If you fancy more BDD-style testing with a Gherkin-like syntax, there is also Shellspec https://shellspec.info / https://github.com/shellspec/shellspec
-
[POSIX] How to Implement --args and How Should Usage Be Formatted
I am developing a testing framework for POSIX compliant shells that has over than 60 options. Since, It is for testing shell scripts, it makes sense to implement it in a shell script, even if it is complex.
sharness
-
Bash_unit – bash unit testing framework
The definition of a unit in the context of this framework doesn't seem to be some internal interface but rather whatever can be expressed externally via the CLI.
Projects that make use of this kind of testing include git[1], Donenfeld's pass[2], and anything else that uses sharness[3].
[1]: https://git.kernel.org/pub/scm/git/git.git/tree/t
[2]: https://git.zx2c4.com/password-store/tree/tests
[3]: https://github.com/chriscool/sharness#projects-using-sharnes...
What are some alternatives?
bashcov - Code coverage tool for Bash
bash-oo-framework - Bash Infinity is a modern standard library / framework / boilerplate for Bash
shunit2 - shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.
getoptions - An elegant option/argument parser for shell scripts (full support for bash and all POSIX shells)
Installomator - Installation script to deploy standard software on Macs
bash_unit - bash unit testing enterprise edition framework for professionals
shc - Shell script compiler
ShellCheck - ShellCheck, a static analysis tool for shell scripts
git-pretty-pull-request
aish - Shell script one-liners right in your terminal prompt
bash-specs - A BDD testing framework for Bash inspired by Jasmine and roundup.