Next: , Previous: , Up: testing   [Contents][Index]


23.3 Configuring the package

Function: dotest-set-verbose
Function: dotest-unset-verbose

Set or unset verbose execution. If verbose mode is on: some commands output messages on stderr describing what is going on. Examples: files and directories creation/removal.

Function: dotest-option-verbose

Return true if verbose mode is on, false otherwise.

Function: dotest-set-test
Function: dotest-unset-test

Set or unset test execution. If test mode is on: external commands (like rm and mkdir) are not executed, the command line is sent to stderr. Test mode is meant to be used to debug the test library functions.

Function: dotest-option-test

Return true if test mode is on, false otherwise.

Function: dotest-set-debug
Function: dotest-unset-debug

Enable or disable printing debug messages. If debug mode is on: the function dotest-debug() will print its message; otherwise it will print nothing.

Function: dotest-option-debug

Return true if debug mode is on, false otherwise.

Function: dotest-set-report-start
Function: dotest-unset-report-start

Set or unset printing a message upon starting a function.

Function: dotest-option-report-start

Return true if start function reporting is on; otherwise return false.

Function: dotest-set-report-success
Function: dotest-unset-report-success

Set or unset printing a message when a function execution succeeds. Failed tests always cause a message to be printed.

Function: dotest-option-report-success

Return true if success function reporting is on; otherwise return false.


Next: , Previous: , Up: testing   [Contents][Index]

This document describes version 3.0.0-devel.0 of Marcos Bash Functions Library.