Ross ROSS = Recommend OSS · open-source software intelligence for agents

shellspec/shellspec

A full-featured BDD unit testing framework for bash, ksh, zsh, dash and all POSIX shells observed · 2026-08-28

github.com/shellspec/shellspec · homepage · Shell · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

47/100

  • Activity 53
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 2766
  • days_rel: n/a
  • days_push: 282
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1393 stars · 78 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

ShellSpec is a full-featured BDD unit testing framework for shell scripts, supporting bash, ksh, zsh, dash, and all POSIX shells. It provides code coverage, mocking, parameterized tests, and parallel execution for testing shell scripts and libraries.

Use cases

  • unit test bash scripts
  • test shell functions with BDD syntax
  • get code coverage for shell scripts
  • mock commands in shell script tests
  • run shell tests in parallel
  • test scripts across multiple POSIX shells
  • TDD for shell script libraries

When to choose

  • you need a full-featured testing framework for shell scripts
  • your scripts must run across many POSIX shells (dash, ksh, zsh, busybox)
  • you want mocking, coverage, or parallel execution for shell tests
  • you prefer BDD/RSpec-style syntax over Bats or shUnit2

When to avoid

  • you only need simple assertion-based tests and prefer Bats' minimalism
  • you are testing Python, Ruby, or other non-shell code
  • your team is unfamiliar with BDD-style test syntax

Facets

framework · maturity stable

testing mocking cli testing developer-tools windows bsd cli cross-platform bdd shell-scripting posix-shells tdd code-coverage unit-testing bash zsh dash ksh command-line automation linux macos

2 sources

Member repositories

RepositoryRoleHealth v2
shellspec/shellspecmain47

For agents

markdown · JSON · MCP: product_card(name="shellspec/shellspec")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem