Rubrique précédente: Deploy a New CompanionRubrique suivante: Create a New Hook


Using Hooks

This chapter explains how to extend the LISA software with a new hook.

A hook is a mechanism that allows for the automatic inclusion of test setup or teardown logic for all the tests running in LISA. An alternate definition of a hook is a system-wide companion.

Hooks are used as follows:

Anything that a hook can perform can also be modeled as a companion in LISA. However, there are several differences between hooks and companions:

This section contains the following topics:

Create a New Hook

Deploy a New Hook