public interface AllureResultsWriter
| Modifier and Type | Method and Description |
|---|---|
void |
write(String source,
InputStream attachment)
Writes given attachment.
|
void |
write(TestResult testResult)
Writes Allure test result bean.
|
void |
write(TestResultContainer testResultContainer)
Writes Allure test result container bean.
|
void write(TestResult testResult)
testResult - the given bean to write.AllureResultsWriteException - if some error occurs
during operation.void write(TestResultContainer testResultContainer)
testResultContainer - the given bean to write.AllureResultsWriteException - if some error occurs
during operation.void write(String source, InputStream attachment)
source - the file name of the attachment. Make sure that file name
matches the following glob: *-attachment*. The right way to generate attachment is generate UUID, determinate attachment extension and then use it as
{UUID}-attachment.{ext}attachment - the steam that contains attachment body.Copyright © 2017 qameta.io. All rights reserved.