Services and Modeling for Embedded Software Development
Embecosm divider strip
Prev  Next

1.2.  Further information

The main source of information is the DejaGnu user guide by Rob Savoye [3]. The most useful section is the Unit Testing API, which lists all the procedures which can be used when writing tests.

DejaGnu is implemented as the runtest command. It is documented in its own manual page (man runtest). However the manual page is incomplete, and additional options to this command may be identified by using runtest ‑‑help.

Tests are written in an extension to the Tool Command Language (TCL), known as expect. TCL is extensively documented on its website (see www.tcl.tk/doc). Of particular value is the TCL tutorial on that site [1].

Expect has its own manual page (man expect), which provides a "succinct" description of the main language commands. Comprehensive documentation may be found in the book Exploring Expect by Don Libes [2].

Embecosm divider strip