./library/lib/test.xotcl ./library/lib/test.xotcl


Package/File Information

Package provided: xotcl::test 1.03

Defined Objects/Classes:
Filename: ./library/lib/test.xotcl

Description: Simple regression test support.


Class: Test

Class: Class
Description: Class Test is used to configure test instances, which can be configured by the following parameters:
  • cmd: the command to be executed
  • expected: the expected result
  • count: number of executions of cmd
  • pre: a command to be executed at the begin of the test (before cmd)
  • post: a command to be executed after the test (after all cmds)
The defined tests can be executed by Test run



Back to index page.