MBFL comes with a little library libmbfl-tests.bash of functions that may be used to build test suites; its aim is at building tests for Bash functions, commands and scripts1. The library tries to do as much as possible using functions and aliases, not variables; this is an attempt to let the user redefine functions to his taste.
| • testing intro: | A way to organise a test suite. | |
| • testing config: | Configuring the package. | |
| • testing running: | Running tests. | |
| • testing compare: | Validating results by comparing. | |
| • testing output: | Validating results by output. | |
| • testing messages: | Printing messages from test functions. | |
| • testing files: | Handling files in tests. |
The
ideas at the base of this library are taken from the tcltest package distributed with the
TCL core; TCL stands for Tool Command Language and it is a scripting
language originally written by John Ousterhout, see: http://www.tcl.tk/
This document describes version 3.0.0-devel.9 of Marcos Bash Functions Library.