MBFL comes with a little library of functions that may be used to build test suites; its aim is at building tests for Bash functions, commands and scripts.
The ideas at the base of this library are taken from the tcltest
package distributed with the TCL core 1;
this package had contributions from the following people/entities: Sun
Microsystems, Inc.; Scriptics Corporation; Ajuba Solutions; Don Porter,
NIST; probably many many others.
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 shell: | A script to run tests. | |
• 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. |
TCL stands for Tool Command Language and it is a scripting language originally written by John Ousterhout, see: http://www.tcl.tk/.