5. Writing Test Suites

5 Writing Test Suites

5.1 Support for Test Suite Authors

The ct module provides the main interface for writing test cases. This includes for example, the following:

  • Functions for printing and logging
  • Functions for reading configuration data
  • Function for terminating a test case with error reason
  • Function for adding comments to the HTML overview page

For details about these functions, see module ct.

The Common Test application also includes other modules named ct_<component>, which provide various support, mainly simplified use of communication protocols such as RPC, SNMP, FTP, Telnet, and others.