Previous Topic: Create a New HookNext Topic: Custom Data Sets


Deploy a New Hook

Hooks are deployed when a class name in the lisa.properties file registers them. The system property key that is used for hooks is lisa.hooks. An example follows:

# to register hooks with LISA, these are comma-separated
lisa.hooks=com.itko.lisa.files.SampleHook,com.mycompany.lisa.HeadlineHook

The preceding lisa.properties entry deploys two hooks to be run on every test.