public class Hooks extends Object
| Constructor and Description |
|---|
Hooks() |
| Modifier and Type | Method and Description |
|---|---|
static void |
After(Object... args)
Registers an after hook, which is executed after specific, or all, scenarios.
|
static void |
Before(Object... args)
Registers a before hook, which is executed before specific, or all, scenarios.
|
static void |
World(groovy.lang.Closure body) |
public static void Before(Object... args)
args - the hook parameterspublic static void After(Object... args)
args - the hook parametersCopyright © 2017. All Rights Reserved.