before Test
Adds a closure to be notified before a test is executed. A TestDescriptor instance is passed to the closure as a parameter.
Parameters
closure
The closure to call.
Adds a closure to be notified before a test is executed. A TestDescriptor instance is passed to the closure as a parameter.
The closure to call.