leospol / bash-specs

A BDD testing framework for Bash inspired by Jasmine and roundup.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bash-specs

A modern BDD testing framework for Bash

Build Status Code Climate Test Coverage License

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

About

A BDD testing framework for Bash inspired by Jasmine and roundup.

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%