https://github.com/helpermethod/bash-specs
A BDD testing framework for Bash inspired by Jasmine and roundup.
https://github.com/helpermethod/bash-specs
Last synced: 2 months ago
JSON representation
A BDD testing framework for Bash inspired by Jasmine and roundup.
- Host: GitHub
- URL: https://github.com/helpermethod/bash-specs
- Owner: helpermethod
- License: gpl-3.0
- Created: 2012-07-13T15:52:14.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2017-07-06T10:58:58.000Z (almost 8 years ago)
- Last Synced: 2025-04-13T00:42:52.777Z (2 months ago)
- Language: Shell
- Homepage:
- Size: 148 KB
- Stars: 12
- Watchers: 4
- Forks: 4
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# bash-specs
A modern BDD testing framework for Bash
[](https://travis-ci.org/helpermethod/bash-specs)
[](https://codeclimate.com/github/helpermethod/bash-specs)
[](https://codeclimate.com/github/helpermethod/bash-specs/coverage)
[](https://github.com/helpermethod/bash-specs/blob/master/COPYING)```bash
describe 'bash-specs'
_() {
expect 'bash-specs' to_start_with 'bash'
}it 'starts with bash' _
```## Features
* test suite isolation
the context in which specs are run is rebuilt for every test suite
* mocking of functions, commands and builtins
mocking allows testing of functions in isolation
* reporting
the test runner outputs the number of run/successful/failed specs as well as total and per-spec execution time
* human readable DSL
a DSL which resembles human-written specifications## Installation
## Usage
## Contribute
## Support