public class Allure extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(LifecycleListener listener)
Experimental.
|
void |
fire(ClearStepStorageEvent event)
This method just clear current step context.
|
void |
fire(ClearTestStorageEvent event)
This method just clear current testCase context.
|
void |
fire(StepEvent event)
Process any StepEvent.
|
void |
fire(StepFinishedEvent event)
Process StepFinishedEvent.
|
void |
fire(StepStartedEvent event)
Process StepStartedEvent.
|
void |
fire(TestCaseEvent event)
Process TestCaseEvent.
|
void |
fire(TestCaseFinishedEvent event)
Process TestCaseFinishedEvent.
|
void |
fire(TestCaseStartedEvent event)
Process TestCaseStartedEvent.
|
void |
fire(TestSuiteEvent event)
Process TestSuiteEvent.
|
void |
fire(TestSuiteFinishedEvent event)
Process TestSuiteFinishedEvent.
|
String |
getVersion()
Use this method to get Allure version in runtime.
|
public static final Allure LIFECYCLE
public void fire(StepStartedEvent event)
event - to processpublic void fire(StepEvent event)
event - to processpublic void fire(StepFinishedEvent event)
event - to processpublic void fire(TestCaseStartedEvent event)
event - to processpublic void fire(TestCaseEvent event)
event - to processpublic void fire(TestCaseFinishedEvent event)
event - to processpublic void fire(TestSuiteEvent event)
event - to processpublic void fire(TestSuiteFinishedEvent event)
event - to processpublic void fire(ClearStepStorageEvent event)
event - will be ignoredpublic void fire(ClearTestStorageEvent event)
event - will be ignoredpublic void addListener(LifecycleListener listener)
listener - to addLifecycleListenerpublic String getVersion()
Copyright © 2017 Yandex. All rights reserved.