shellspec VS sharness

Compare shellspec vs sharness and see what are their differences.

shellspec

A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells (by shellspec)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
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
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.

shellspec

Posts with mentions or reviews of shellspec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-27.

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 shellspec and sharness you can also consider the following projects:

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