
BBT
BBT is a command-line tool that turns plain-English behaviour specs into automated tests, making it simple to verify command-line tool functionality.

BBT stands for Black Box Tester, a command line tool that combines behavior specifications written in plain English with test automation. Let’s look at an example taken from BBT’s documentation. The following behavior specification is written in Markdown format (shown rendered below, source here):

As you can see, it is very readable and easy to understand. Given this specification, BBT will:
- Create a file named config.ini with the provided content
- Run the rpl command
- Compare config.ini with the expected output, and report an error when different
A clever way to test command line tools.


