ct_hooks

ct_hooks

Module

ct_hooks

Module summary

A callback interface on top of Common Test.

Description

The Common Test Hook (CTH) framework allows extensions of the default behavior of Common Test by callbacks before and after all test suite calls. It is intended for advanced users of Common Test who want to abstract out behavior that is common to multiple test suites.

In brief, CTH allows you to:

  • Manipulate the runtime configuration before each suite configuration call.

  • Manipulate the return of all suite configuration calls and by extension the result of the test themselves.

The following sections describe the mandatory and optional CTH functions that Common Test calls during test execution. For more details, see section 登录查看完整内容