bash_unit VS sharness

Compare bash_unit vs sharness and see what are their differences.

Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
bash_unit sharness
7 2
575 374
- -
8.3 6.5
about 1 month ago 4 days ago
Shell Shell
GNU General Public License v3.0 only GNU General Public License v3.0 only
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

bash_unit

Posts with mentions or reviews of bash_unit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-02.

sharness

Posts with mentions or reviews of sharness. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-03-02.
  • Sharness 1.2.0 released
    1 project | /r/bash | 20 Mar 2023
    For more information check the Sharness site.
  • Bash_unit – bash unit testing framework
    10 projects | news.ycombinator.com | 2 Mar 2021
    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?

When comparing bash_unit and sharness you can also consider the following projects:

shellspec - A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells

bashcov - Code coverage tool for Bash

bash-specs - A BDD testing framework for Bash inspired by Jasmine and roundup.

Install-SqlServer - Powershell script to install MS SQL Server unattended

git-pretty-pull-request

babashka - Native, fast starting Clojure interpreter for scripting

Bash-Project-Template - Repository template with Shell/Bash unit testing and pre-commit.

ShellCheck - ShellCheck, a static analysis tool for shell scripts