shunit2
shellspec
shunit2 | shellspec | |
---|---|---|
4 | 6 | |
1,549 | 1,017 | |
- | 0.0% | |
3.5 | 0.0 | |
3 months ago | about 1 year ago | |
Shell | Shell | |
Apache License 2.0 | MIT License |
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.
shunit2
-
Pure Bash Bible
> or something that would proper unit testing
<https://github.com/kward/shunit2>
-
First time writing bash scripts for work, not sure if this is true elsewhere
https://github.com/kward/shunit2 is your friend here.
-
AWK an old-school tool today
And in case you are thinking how powerful this is and like me trying to take it further to create small AWK powered "apps" to do the monotonous tasks while wondering how can you verify if what you are coding is valid, you can execute any number of unit tests for shell scripts, and therefore, AWK scripts using shunit2
-
ShellCheck: A static analysis tool for shell scripts
Alongside ShellCheck, I also use shUnit2 as my unit testing framework. Yes, you should test your bash.
https://github.com/kward/shunit2
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.
What are some alternatives?
bats-core - Bash Automated Testing System
bashcov - Code coverage tool for Bash
ShellCheck - ShellCheck, a static analysis tool for shell scripts
bash-oo-framework - Bash Infinity is a modern standard library / framework / boilerplate for Bash
sh - A shell parser, formatter, and interpreter with bash support; includes shfmt
getoptions - An elegant option/argument parser for shell scripts (full support for bash and all POSIX shells)
shellharden - The corrective bash syntax highlighter
Installomator - Installation script to deploy standard software on Macs
etc - Things that are too small to keep in a separate repo, but too important not to version them.
bash_unit - bash unit testing enterprise edition framework for professionals
spdk - Storage Performance Development Kit
shc - Shell script compiler