BDD for command-line applications

Inspired by aruba.

Feature: showing off cli-bdd

    Scenario: create and remove file
        Given I cd to "/tmp/"
        Given a file "test.txt" with "some text"
        When I run `rm -i test.txt` interactively
        And I type "Yes"
        Then the file "/tmp/test.txt" should not exist

Source repository on Github.

Installation:

$ pip install cli-bdd

Read the docs how to use cli-bdd with behave and lettuce.