sys/check

System Testing Support

Dependency Graph

sys/check: Library Dependencies

View the full-size SVG (svg) or PDF (pdf) image or graphviz source (dot)

View color source code (raw) for this file

View reStructuredText (rst) source code for this page

Library Configuration

$check_list[]

Stack of checks being performed.

Internal Functions

check_start()

Prints message indicating a check ($1) has started

check_finish()

Prints message indicating a check ($1) has finished.

check_pass()

Prints a message indicating a check passed.

check_fail()

Prints a message ($1) indicating a check failed.

Checks

check_run()

Runs a single check ($@) with a given message ($1) and error message ($2).

$1 - Informational message to pass to check_start().

$2 - Error message to pass to check_fail().

$@ - Command to execute.

Tests

check_for_pass()

Runs a check that is expected to pass.

$1 - Informational message to pass to check_start().

$@ - Command to execute.

check_for_fail()

Runs a check that is expected to fail.

$1 - Informational message to pass to check_start().

$@ - Command to execute.

check_is_expected()

Runs a check that verifies a given variable ($1) produce an expected value ($2).

$1 - Variable to check

$2 - Expected value

Test Suites

check_list_start()

Starts a test suite.

$1 - The name of the testsuite. If null, the caller function name well be used. The name must be a valid symbol.

check_list_finish()

Finishs a test suite and reports the results.


View the Developer Guide Index

View the Reference Manual Index


Generated on Thu May 4 19:02:46 PDT 2017 by mcsh i7 v0.19.0.