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 |
AfterStep(Object... args) |
static void |
Before(Object... args)
Registers a before hook, which is executed before specific, or all, scenarios.
|
static void |
BeforeStep(Object... args) |
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 parameterspublic static void AfterStep(Object... args)
public static void BeforeStep(Object... args)
Copyright © 2018. All rights reserved.