shellspec
A full-featured BDD unit testing framework for all POSIX shells
dev-util/shellspec is a full-featured BDD unit testing framework for app-shells/dash, app-shells/bash, app-shells/ksh, app-shells/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. dev-util/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.
homepage ↗ github: shellspec/shellspec
Available in
| Overlay | Newest | Ebuilds | Last activity | |
|---|---|---|---|---|
| guru gitweb ↗ | 0.28.1-r3 | 2 | 2 d | details › |
Versions & arches
Use flags of 0.28.1-r3
- doc Add extra documentation (API, Javadoc, etc). It is recommended to enable per package instead of globally
- examples Install examples, usually source code
- test Enable dependencies and/or preparations necessary to run tests (usually controlled by FEATURES=test but can be toggled independently)