Class UploadResultsSubscriber
java.lang.Object
de.qytera.qtaf.xray.event_subscriber.UploadResultsSubscriber
- All Implemented Interfaces:
de.qytera.qtaf.core.events.interfaces.IEventSubscriber
public class UploadResultsSubscriber
extends Object
implements de.qytera.qtaf.core.events.interfaces.IEventSubscriber
Event subscriber that uploads test results to Xray API
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidonTestFinished(de.qytera.qtaf.core.events.payload.IQtafTestingContext testContext) Method that gets executed when testing has finishedvoidUnsubscribe from subscriptions
-
Constructor Details
-
UploadResultsSubscriber
public UploadResultsSubscriber()
-
-
Method Details
-
initialize
public void initialize()- Specified by:
initializein interfacede.qytera.qtaf.core.events.interfaces.IEventSubscriber
-
onTestFinished
public void onTestFinished(de.qytera.qtaf.core.events.payload.IQtafTestingContext testContext) Method that gets executed when testing has finished- Parameters:
testContext- Test context payload
-
unsubscribe
public void unsubscribe()Unsubscribe from subscriptions
-