Package net.serenitybdd.rest.utils
Class RestExecutionHelper
java.lang.Object
net.serenitybdd.rest.utils.RestExecutionHelper
User: YamStranger
Date: 4/6/16
Time: 7:51 AM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddisableDryRunForClass(Class classOfObject) static voiddisableDryRunForClass(Object object) static voidenableDryRunForClass(Class classOfObject) static voidenableDryRunForClass(Object object) Using of this method allowed to enable DryClean mode for particular class.static boolean
-
Constructor Details
-
RestExecutionHelper
public RestExecutionHelper()
-
-
Method Details
-
restCallsAreDisabled
public static boolean restCallsAreDisabled() -
enableDryRunForClass
Using of this method allowed to enable DryClean mode for particular class. During executing of methods restCallsAreDisabled and restCallsAreDisabled stacktrace will be analysed to find out if this class included. Be careful - until even for one class enabled dry clean - performance will be decreased.- Parameters:
object- some object where methods will be executed, basically it should be test
-
enableDryRunForClass
-
disableDryRunForClass
-
disableDryRunForClass
-