Skip to content
r.

shellspec

shellspec/shellspec · Public GitHub repository

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

Open project in RepoShelf

Open the project to try its demo, view the repository, or save it to your collection. Repository and demo actions use RepoShelf’s sign-in flow.

shellspec live demo screenshot
Captured from the live demo · 2026-11-02

About this project

Author-written excerpt from the project README.

ShellSpec is a full-featured BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells that provides first-class features such as code coverage, mocking, parameterized test, parallel execution and more. It was developed as a dev/test tool for cross-platform shell scripts and shell script libraries. ShellSpec is a new modern testing framework released in 2019, but it's already stable enough. With lots of practical CLI features and simple yet powerful syntax, it provides you with a fun shell script test environment.

&style=flat-square) &style=flat-square) &style=flat-square) &style=flat-square)

Thank you for your interest in ShellSpec. Please visit 🚩the official website to know the impressive features!

Requirements and intended audience

ShellSpec is a full-featured BDD unit testing framework for dash, bash, ksh, zsh and all POSIX shells that provides first-class features such as code coverage, mocking, parameterized test, parallel execution and more. It was developed as a dev/test tool for cross-platform shell scripts and shell script libraries. ShellSpec is a new modern testing framework released in 2019, but it's already stable enough. With lots of practical CLI features and simple yet powerful syntax, it provides you with a fun shell script test environment.

Not recorded: external api key, paid service, self-hosting. Missing information does not mean there are no requirements.

Statements extracted from the author’s documentation · Checked 2026-11-01. Source: https://github.com/shellspec/shellspec/blob/master/README.md

Recorded maintenance information

Last recorded source update: 2025-11-24. Saved release: 0.28.1 · 2021-01-11. These dates do not guarantee ongoing maintenance.

Technologies
Shell
Licence
MIT. Generally permits modification and commercial use, subject to the licence’s notices and conditions.
Demo check
A public page loaded on 2026-11-20. This does not test every feature.

Browse related categories