| Constructor and Description |
|---|
AllureShutdownHook(Set<Map.Entry<String,ru.yandex.qatools.allure.model.TestSuiteResult>> testSuites)
Create a new instance of shutdown hook.
|
| Modifier and Type | Method and Description |
|---|---|
ru.yandex.qatools.allure.model.TestCaseResult |
createFakeTestcaseWithWarning(ru.yandex.qatools.allure.model.TestSuiteResult testSuite)
Create fake test case, which will used for mark suite as interrupted.
|
void |
markTestcaseAsInterruptedIfNotFinishedYet(ru.yandex.qatools.allure.model.TestCaseResult testCase)
If test not finished yet (in our case if stop time is zero) mark it as interrupted.
|
void |
run()
Mark unfinished test cases as interrupted for each unfinished test suite, then write
test suite result
|
public void run()
public ru.yandex.qatools.allure.model.TestCaseResult createFakeTestcaseWithWarning(ru.yandex.qatools.allure.model.TestSuiteResult testSuite)
public void markTestcaseAsInterruptedIfNotFinishedYet(ru.yandex.qatools.allure.model.TestCaseResult testCase)
Copyright © 2017 Yandex. All rights reserved.