shellspec
sharness
Our great sponsors
shellspec | sharness | |
---|---|---|
6 | 2 | |
1,017 | 375 | |
1.0% | - | |
0.0 | 5.6 | |
about 1 year ago | about 1 month 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
-
Unit test for an installer
I'm thinking to use shellspec to perform the unit testing on Linux boxes, already for the file configuration.
- ShellSpec – A full-featured BDD unit testing framework for dash, bash, ksh, zsh
- ShellSpec: A unit testing framework for shells
-
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
-
Sharness 1.2.0 released
For more information check the Sharness site.
-
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
Install-SqlServer - Powershell script to install MS SQL Server unattended
shunit2 - shUnit2 is a xUnit based unit test framework for Bourne based shell scripts.
bash_unit - bash unit testing enterprise edition framework for professionals
getoptions - An elegant option/argument parser for shell scripts (full support for bash and all POSIX shells)
git-pretty-pull-request
Installomator - Installation script to deploy standard software on Macs
babashka - Native, fast starting Clojure interpreter for scripting
ShellCheck - ShellCheck, a static analysis tool for shell scripts